javascript - Getting gridpanel's cell value. ExtJs -


I have a grid panel with some columns and checkbox selection model . When I check any row, I get the value of the id cell.

  var sm = new Ext.grid.CheckboxSelectionModel ({Listeners: {Selection: Function (SI) {Warning ('Cookie:' + sm.get Selected ). Id);}}});  

value of cell with OK IM dummy name id To get

  var sm = new Ext.grid.CheckboxSelectionModel ({Listeners: {Selection: Function (SI) {Warning ('CQ:' + sm.get selected). ("Id"));}}});    

Comments