Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 05, 2007 09:42
open dhtmlx forum
You have the setOnColumnSort that is fired when a user clicks on a column header for sorting. But what "fun...

You have the setOnColumnSort that is fired when a user clicks on a column header for sorting.
But what "function is called" when the sorting is finish?
Answer posted on Mar 05, 2007 09:43

You can try onGridReconstructed method, which called after sorting proceeds.

There is no public event for sortinEnd situation. More than that, you can't organize a sorting progress bar, javascript is single-threaded language, and browser doesn’t render any changes to dom, before current javascript task finished. (So even in case of both - stat and end sorting events, the changes which you can implement in those functions will be visible only after sorting finished).

Answer posted by Embre (Support) on Dec 02, 2014 19:04

Not much can be said in addition to the reply above, but you also can check dhtml calendar javascript and apps i touch and find out what we have probably missed in our explanation.