HI I have a DataView with XTemplate.
In my controller, I listen to the itemclick
event.
onItemClick: function(view, record, item) {
var me = this,
panel = me.getRightPanel();
// here I need to know if the item clicked is already selected
}
Is there a way to know if the item clicked is already selected?