Hi Peter,
Apology for not defining the “Refresh” button in detail.
Below mentioned are the properties that we use for the “Refresh” button on the grid:
$(“#jqxgrid”).jqxGrid(“clearfilters”);
$(‘#jqxgrid’).jqxGrid(‘clearselection’);
$(“#jqxgrid”).jqxGrid(“removesort”);
$(“#jqxgrid”).jqxGrid(“updatebounddata”);
In this case, only filter gets cleared along with the selection but sorting persists.
Please note the error for the same:
Error: jqxGrid: The data is still loading. When the data binding is completed, the Grid raises the ‘bindingcomplete’ event. Call this function in the ‘bindingcomplete’ event handler.
I tried putting remove sort for ‘bindingcomplete’ event handler as shown below but still sorting persists.
$(“#jqxgrid”).on(“bindingComplete”, function () { $(“#jqxgrid”).jqxGrid(“removesort”); });
Thanks and regards,
Mithil.