Reputation: 5299
I have a grid panel with some columns and CheckboxSelectionModel
. When i check sone rows i want to get a value of the id
cell.
var sm = new Ext.grid.CheckboxSelectionModel({
listeners: {
selectionchange: function(sm) {
alert('coucou : ' + sm.getSelected().id);
}
}
});
Upvotes: 0
Views: 1416
Reputation: 5299
Ok im dummy. To get a value of cell with name id
needed
var sm = new Ext.grid.CheckboxSelectionModel({
listeners: {
selectionchange: function(sm) {
alert('coucou : ' + sm.getSelected().get("id"));
}
}
});
Upvotes: 2