Hi,
I am struggling with Tab order in Grid having one Checkbox column. On Tab out, I need to move focus from “ABC” column to “XYZ” Checkbox column skipping 6 columns which is lying in between these two columns.
Below code works fine with other columns of type numeric input. However, focus gets lost in case of Checkbox column
handleTabNavigation: function (event)
{
var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
if (key == 9)
{
if (CurrentCellEdit.Column == "ABC")
{
$('#jqxgrid').jqxGrid('selectcell', selectedrowindex, 'XYZ');
$('#jqxgrid').jqxGrid('begincelledit', selectedrowindex, 'XYZ');
return true;
}
}
}
$("#jqxgrid").jqxGrid(
{
width: '100%',
height: '675',
columnsheight: 35,
source: dataAdapter,
showtoolbar: true,
toolbarheight: 40,
editable: false,
enabletooltips: true,
groupsexpandedbydefault: true,
editmode: 'selectedcell',
columnsresize: true,
showgroupsheader: true,
handlekeyboardnavigation: this.handleTabNavigation,
.........................