Hi, I’m facing a peculiar problem when using custom Sort functionality with JqxGrid. I have defined JqxGrid adapter with “sort: customGridSort” property
and in the custom sort method a back end REST call will be made for sorted data.
The problem I’m facing is whenever I click on any column to sort, the column will be sorted first and after few seconds the sort direction icon is disappearing. When i click again the table will be sorted again in the same order(hence no change in table data) and again icon disappears. But if i remove custom sort method and enable only normal ‘sort’ property on to the table, then the sort functionality works properly(with table local data)!
In custom sort method, same direction is being sent from the widget. But when I click again quickly on the column before the direction icon disappears then the direction is sent properly.
I have been investigating the problem but didn’t had any luck. I have Jquery, Bootstrap, Angular JS and Jqwidget imports in my html.
I have referred below link for custom sorting.
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-sorting.htm
Please suggest. Thanks
Regards,
Srinath R
BMC Software