I wanted this method as it was made to jump from the line in line and jump from column to column and when it reached the last column jumped to the next line, understood?
function reconfigure(sender, store, columns, oldStore, the, eOpts) {
var grid = sender;
for (var i = 0; i < columns.length; i++) {
if (columns.getEditor()) {
columns.getEditor().on('specialkey', function(field, e) {
if (e.getKey() == 13) {
var store = grid.getStore();
var selModel = grid.getSelectionModel();
var selectedRecord = selModel.getLastSelected();
var recordIndex = store.indexOf(selectedRecord);
var nextRecord = store.getAt(recordIndex + 1);
if (nextRecord) {
selModel.select(nextRecord);
if (grid.editingPlugin && grid.uniRow && grid.uniCol){
var _row = grid.uniRow;
var _col = grid.uniCol;
setTimeout(function(){
grid.editingPlugin.startEdit(_row, _col);
}, 10);
}
}
}
})
}
}
}