Skip to content

afterLoad: allow user to execute some action after data is loaded #5

@avp90

Description

@avp90

allow user to execute some action after data is loaded
e.g.

setData: function(data, afterLoad) {
            if (data) {
                this.clear();
                data.forEach(entry => {
                    this.addRow(entry);
                });
                if (typeof afterLoad == 'function') afterLoad();
            }
        }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions