PDA

View Full Version : How do i remove the list item at the run time.


cdave1980
05-16-2006, 02:36 AM
Hello,

How do i remove the list item at the run time.

Acutally in my application,i am able to display number of listitem.After some time i want remove those selected list items.

Is there any method for removing the selected listitem.

Thanks in advance,

- Chandresh Dave.

jcmaxx
05-16-2006, 06:51 AM
Is there any method for removing the selected listitem.
There is no built-in method for doing it. If the list is populated automatically from a dataset, just delete the items from the underlying dataset. Otherwise, use a combination of the getSelection() and removeItem() methods.