PDA

View Full Version : Is there a way to deselect programmatically from ListField.



venkat.addanki
7 Dec 2009, 8:04 AM
I tried to look in the API doc but couldn't find anything. Also tried setting the value to null but still no luck and the selection stays intact.

venkat.addanki
7 Dec 2009, 8:12 AM
OK found a way to do it...

ListField.getListView().getSelectionModel().deselect(index)

I could have looked more deep in to API