I have a basic grid inside a layout cell. I’m trying to use the progressOn and progressOff functions to show hide the progress spinner during the grids sorting events. I’ve added the code below, but it seems that once the progressOn function is run the sort routine fails. I ned up with the spinner running, but the grid never apears sorted nor does the onAfterSorting event ever fire.
Actual time is definitely not too short. Even without these event handlers it take a good 5 seconds to complete the sort. My data is comming from a 2.9MB CSV file.
After adding the timeout as you suggest it seems to work, but I don’t see the progress spinner until after I see the sort come back. Then its there for less than a second and goes away.
It feels almost as though the onBeforeSorting event is not running the custom code until after the sort returns.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan