Problem sorting grid with custom sort function

Folks,

I have a grid column I am tying to sort with a custom function, it is a Datetime column with a format like so: “%Y-%m-%d %H:%i” and since I could not find a builtin sort routine for this, I wrote my own, and had it working. Now, however it has stopped working and I am trying to figure out how to diagnose the problem. I have an alert in the custom function to see if the it is actually being called when the grid’s column header is clicked, but the custom function never gets called. The are no errors or warning being issued, even when I completely comment out the function. The grid api function I am using is this:

connection_grid.setColSorting(“str,int,sortByDatetime,int,str”);

If anyone has any ideas on how to go about trouble shooting this problem, I would greatly appreciate it.

Thanks,

Daryl

Please, make sure that you have PRO version of dhtmlxgrid.
Custom sorting is not available with standard version.

Hi Sematik,

Thank you for your reply. Yes we are using the professional version. Any ideas what might be wrong?

Thanks,

Daryl

Unfortunately the issue cannot be reconstructed locally.
Please, provide us with any kind of sample of your code to reconstruct the issue.