hi,

You just need to play with the dataProvider of lists.
let's take List1 = L1, List2 = L2, DP1 = List1.dataProvider, DP2 =
List2.dataProvider

make sure both data provider is bindable.

to add new item in L2 get item from DP1 at specific index and add to
DP2
to copy all item get all item from DP1 at specific index and add to
DP2
to delete all item just remove all item form DP

this is simple way to do things. by changing you can achieve you goal.

Regards,
v...@t

On May 13, 6:17 pm, Alekhya Krishna <[email protected]>
wrote:
> Hi,
>
> I have two list boxes,and two buttons. The first list box has some elements.
> Whenever i select the item in first list box and click the button it will
> move to another list box and vice versa.
>  and also two more buttons like(Add All, Delete All), whenever i select Add
> all button, In the first list box elements move to another list box. and
> whenever i click the delete all button the list box elements will be
> deleted. Please help me.
>
> Thanks & Regards,
> K.V.Ramakrishna
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/flex_india?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to