-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi..
what do i do if i want to fire an event on checking the checkbox in a listbox?
The ON_SELECT event does not serve my purpose.
Also how do i find out whether the checkbox for a listitem is checked?
Thanks,
Varun
Hi Vaurn,
Use ON_CHANGE event instead of ON_SELECT. ON_CHANGE event will fire on checking or unchecking of list item.
For identifying whether the checkbox for a listitem is checked
use this
Iterator lItr = listboxId.getSelectedItems().iterator();
Thanks,
Rohit Jain
Asked: 2010-08-17 09:48:14 +0800
Seen: 510 times
Last updated: Aug 18 '10