PDA

View Full Version : ActionColumn example error



mitchellsimoens
15 Feb 2011, 11:27 AM
This is a very small API fix but the example on Ext.grid.ActionColumn (http://dev.sencha.com/deploy/dev/docs/?class=Ext.grid.ActionColumn). The handler should be:


handler: function(grid, rowIndex, colIndex) {
var store = grid.getStore();
var rec = store.getAt(rowIndex);
alert("Buy " + rec.get('company'));
}