grid enableStableSorting -- error

I’m looking into using the stable sort feature of the grid but have encountered an error when applying sort from header clicks.

Error: s[sort] is not a function

Source File:<…>/site_media/lib/dhtmlx-1.6/dhtmlxGrid/codebase/dhtmlxgrid.js

Line: 833

The first time I click the header, the sort works, but any other sort attempt gives the error.

Problem confirmed and fixed.
You can use attached patch, or contact us directly to receive fixed version of js file. (538 Bytes)