I have a similar requirement in an application I'm working on right now. A simple solution that worked for me was to just set the enabled property to false on the item renderer that was dragged to the other list. Then when its removed from the other list I just set enabled back to true.
--- In [email protected], "raju_bb" <[EMAIL PROTECTED]> wrote: > > Hey friends I am confuse where to start from.I want to build a custom > Horizotal List.In this component I want to drag from a TileList > showing images and drop it on Horizontal List and also I want to drag > a list of items from a List and drop onto the HorizontalList(HList). > Now I also want to control when the drag is from a TileList the > application should not allow drag it again from the TileList. > > The thing is I am trying to make a simple Formula Builder like c=a+b > > I have a List of showing a,b,c,d.... > I have a TileList showing +,-,*,/... > > I have a HList where i will be dropping the fields from List and TileList. > For eg. > If user has dropped c then = sign then a then + so he cannot drop any > other operator after that like-,*,/..First he have to remove that > operator + sign and then only he can add other operators.How can i > achieve that..I know i have to write a custom item renderer.But i dont > know where to start from.. >
