As I am using groupBy(), I cannot use smart rendering functionality.
However, my grid sometimes contains a few hundert rows and grouping/ungrouping them takes some time.
So I was wondering whether it would be possible to create a new custom event for groupBy() + unGroup() functions.
Something similar to onXLS/onXLS, like “onGroup” and “onUnGroup”, so I could show a “busy indicator” gif while the grid is grouped/ungrouped.
Thanks for your time and effort.
my lib version: dhtmlxSuite 2008 Rel.3 (DHTMLX 2.0) Professional edition build 81009/81107
The group is a sync operation, so it will not be possible to show any message from the same js thread while grouping not finished ( caused by single-thread nature of javascript )
You can use something similar to the
show_message();
window.setTimeout(function(){
grid.groupBy(ind);
hide_message();
},1)
>>Something similar to onXLS/onXLS, like “onGroup” and “onUnGroup”,
Actually such events as onGroup and onUnGroup are really exists , but they are not usable because of sync. processing mode.
Thanks a lot, it sort of fullfills my requirements.
Except for the animated ajax-loader GIF file which is not spinning – I guess that is thanks to the synchronous processing mode.
Most probably because of sync execution mode and heavy CPU load in that time, browser just drop animation in favor of javascript thread execution - unfortunately it can’t be workarounded