Hi All,
I want to have column wise navigation for my grid.
Suppose my grid has total of 20 columns and have “Previous” and “Next” buttons for pagination.
By default only first 10 columns of total 20 columns should be displayed.
On click of “Next” button first 10 column should get hide and columns from 11 to 20 should get displayed.
Similar action to happen on click of “Previous” button.
I tried using java “for loop” to hide/unhide the columns but its too slow.
for(var i=0;i<=10;i++){
$("#dataGrid").jqxGrid('hidecolumn',colDataFieldArray[i]);
}
for(var i=10;i<colDataFieldArrayLength;i++){
$("#dataGrid").jqxGrid('showcolumn',colDataFieldArray[i]);
}
Kindly suggest the best way to achieve Column wise navigation.
Thanks in advance.