Feb 24, 2011, 2:33 PM
[CLOSED] focus on first cell in new record gridpanel
hi,
I add new record in gridpanel. I want to focus in first cell
I tried this code but not work
I add new record in gridpanel. I want to focus in first cell
I tried this code but not work
var addRecordInGrid = function (id) {
grid.insertRecord(0, {id : controlRecordPropertyId()});
grid.startEditing(0, 0);
grid.selModel.selectRow(0);
grid.getView().focusCell(0,3);
}
Last edited by Daniil; Feb 25, 2011 at 12:56 PM.
Reason: [CLOSED]