PDA

View Full Version : Is there a select Row Change event I could use in grid listner?



bryanevil
8 Jul 2010, 4:25 PM
I am using rowclick at the moment, but is not enough.

I am looking for a event that can track the selected row has change, I will use this event in the grid listener to refresh its child grid's datastore.

Elijah
8 Jul 2010, 5:13 PM
...
selModel: new Ext.grid.RowSelectionModel({
singleSelect: true,
listeners: {
rowselect: function(sm, rowIdx, r) {
// do something
} // rowselect
} // listeners
}), //selModel
...

bryanevil
9 Jul 2010, 1:38 AM
It works thanks.