PDA

View Full Version : disabling currently selected item in a list



cabennett85
6 Aug 2010, 2:13 PM
Happy Friday everybody.

I'm using a list bound to a JsonStore. The list's singleSelect config is set to true. Once an item in the list is selected, I'm wondering if there is a Sencha way to disable that item from being tapped again which seems to deselect it, at least for appearance sake so that the item stays highlighted.

Thanks!

evant
8 Aug 2010, 9:01 PM
You could listen to one of the events (like itemtap) to detect whether or not it's being deselected.