-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello friends
in my listbox there are 3 listheaders and i have to get 3 listcell in listitem.
All these listitem & listcell are dynamically created.
Then how to get 3 listcell label.
By using following code i am getting 1'st listcell label
System.out.println("Listcell label............."+list_box.getItemAtIndex(1).getLabel());
how to get other listcell
plz. reply.
list_box.getItemAtIndex(1).getLabel() this is just the label of a Listitem.
It should be:
Listitem item = list_box.getItemAtIndex(index);
Listcell cell = item.children.get(column)); //column count from 0
String label = cell.getLabel();
Asked: 2009-09-02 06:10:41 +0800
Seen: 330 times
Last updated: Sep 02 '09