Events
Grid.js has a global EventEmitter object which is used to emit events throughout the application lifecycle.
Simply, use the on
method to capture and bind a function to events.
Open your developer tools console to see the logs:
Live Editor
Result
Name | Email | Phone Number |
---|---|---|
John | john@example.com | (353) 01 222 3333 |
Mark | mark@gmail.com | (01) 22 888 4444 |
Eoin | eo3n@yahoo.com | (05) 10 878 5554 |
Nisen | nis900@gmail.com | 313 333 1923 |
tip
See a full list of Grid.js global events on event.ts and table events on eventTable