That sounds like a pretty cool option. I'm not sure you would need a custom ItemRenderer or anything like that. Perhaps you can set up a condition for the drag and drop. Ah... hmm... just a sec...

And Google says:

http://raghuonflex.wordpress.com/2007/04/10/conditional-drag-drop/

Take a look. I haven't looked at it yet but it might be helpful.

Michael

raju_bb 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..

Reply via email to