This section describes events of Data Table component shared with inherited components.
Cell Clicked
This event is fired when the user clicks on the specific cell.
Event Name: | cellClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
recordIndex | Integer | Record Index. Index of the clicked cell's record. |
field | String | Field. Name of the clicked cell's field. |
record | Data Table | Record. Contents of the record in that the cell was clicked. |
Cell Updated
This event is fired when the user updates value of the specific cell in the data table.
Event Name: | cellUpdated |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
recordIndex | Integer | Record Index. Index of the updated cell's record. |
field | String | Field. Name of the updated cell's field. |
value | Data Table | Value. New value entered in the cell. |
This event is fired once a kebab button was clicked.
Event Name: | kebabButtonClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
recordIndex | Integer | Record Index. Index of the record in that the kebab button was clicked. |
uid | String | UID. Unique ID of the clicked button |
record | Data Table | Record. Contents of the record in that the kebab button was clicked. |
Row Added
This event is fired when the user adds a row to the table.
Event Name: | rowAdded |
Records: | 0 |
Row Removed
This event is fired when the user removes a row from the table.
Event Name: | rowRemoved |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
recordIndex | Integer | Record Index. Index of removed row. |
Sorting or Filtering Rules Changed
This event is fired when the user sorts or filters records in the table.
Event Name: | sortingOrFilteringUpdated |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
sortingData | Data Table | Sorting Data. Contains nested data table with field names and sorting rules applied to these fields. |
filteringData | Data Table | Filtering Data. Contains nested data table with field names and filtering rules applied to these fields. |
Row Selected
Fires when a selection action is applied to the table. Possible actions are Select, Deselect, Select All, Deselect All, and Reverse Selection.
Event Name: | rowSelected |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
selectionType | String | Selection Type |
value | Data Table |
|
Was this page helpful?