Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Why is selectAllRecords() not working in groupByComplete?

    I've changed the example https://www.smartclient.com/smartcli...ynamicGrouping a bit and added this method:

    Code:
      groupByComplete: function () {
        this.selectAllRecords();
      }
    After this, no records are selected. If I add a delay however, it works.

    Code:
      groupByComplete: function () {
        this.delayCall('selectAllRecords', [], 500);
      }
    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.

    #2
    Anybody an idea how to do this differently?

    Comment

    Working...
    X