Hi,
So, I’m trying to add a new row to the grid, when the user starts writing something in the last blank row. But when I do that, the focus moves to the newly added row, and the user has to click on the previous row again, to start typing. How can I avoid this?
handlekeyboardnavigation: function (event) {
var row = $(‘#TableDefinitionGrid’).jqxGrid(‘selectedrowindex’);
var datainformations = $(‘#TableDefinitionGrid’).jqxGrid(‘getdatainformation’);
var rowscounts = datainformations.rowscount;
if (row == rowscounts – 1) {
var newTableFieldID = guid();
var value = $(‘#TableDefinitionGrid’).jqxGrid(‘addrow’, newTableFieldID,{ ‘DisplayName’: ”, ‘InternalName’: ”, ‘Description’: ” });
}
//return false;
//}
}