I've changed the example https://www.smartclient.com/smartcli...ynamicGrouping a bit and added this method:
After this, no records are selected. If I add a delay however, it works.
Changing the timeout to 100 for example, doesn't work (on my machine at least). In my opinion, using delays is not the right way, because it's unclear what amount of time to wait and it looks ugly as well.
Code:
groupByComplete: function () { this.selectAllRecords(); }
Code:
groupByComplete: function () { this.delayCall('selectAllRecords', [], 500); }
Comment