-
FEATURED COMPONENTS
First time here? Check out the FAQ!
how get value of doublebox in listbox?
Please explain your problem briefly so anyone can check what is the issue. thanks
I think You are looking something like this..In my case i have a Checkbox inside listcell..I used this code to get the value of Checkbox.
Listbox listbox = Listbox refreshListID = (Listbox) view.getFellow("queryWindow") .getFellow("refreshListID").getFellow("chosenLb"); // You can get ur way to get the listbox object i used getFollow you can use something else or ur way. List<Listitem> iteams = listbox.getItems(); Set<Listitem> set1 = new LinkedHashSet(iteams); for (Listitem item : set1) { List<Component> com = item.getChildren(); Checkbox chk = (Checkbox) com.get(0).getLastChild(); if (chk.isChecked()) { //do domwthing }
Asked: 2012-09-05 18:26:43 +0800
Seen: 174 times
Last updated: Sep 13 '12