Hi,
I need to customize the sort method for my grid.
I already saw your example at : http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-sorting.htm, but I don’t like the idea of rewriting the comparer or the binding logic.
I’ll try to explain my problem, maybe you can help me to find out a better solution.
Once a “sort” event occurs I have to calculate a specific value based on the sorted column field.
Then sort functionality should work on the new calculated field.
A good idea could be to use a kind of “onbeforesort” event, but I did’t see any such event in the documentation.
Or maybe there is some way to override sort but still using the base sorting method in the library. (but how I can achieve this?)
Thanks in advance for your help.
Giovanni