PDA

View Full Version : Is it possible when I click on a grid row to get the id of the row clicked



rimbaudsolaris
19 May 2010, 10:19 AM
Is it possible when I click on a grid row to get the id of the row clicked
for example the store.getAt should use the id of row clicked


Ext.MessageBox.alert( store.getAt(row_clicked).data['name'] );



listeners: {
update: function(store){

Ext.MessageBox.alert( store.getAt(0).data['name'] );

}
}

Thx for your help

Keylan
19 May 2010, 12:08 PM
This is a duplicate of http://www.extjs.com/forum/showthread.php?99680-Is-it-possible-when-I-click-on-a-grid-row-to-get-the-id-of-the-row-clicked