Question

How to select all records

Hi!

How could I select all the records? There is a function "select multiple records", but no function "select all"

File attachments

Like

1 comments

Hi Joseph!

The following method allows you to select all the records in any section:

        this.methods.selectAll = function() {

            var grdData = this.get('gridData');

            if (!this.get('multiSelect')){

                this.switchGridMode();

            }

            this.set('selectedRows', grdData.collection.keys);

        }

You can add your own action that will select this method.

Show all comments