Skip to main content
Version: v11.7.5

Customising Data Table Row Action

Scenario: Click of a button in a Data Table row should display a message

  • We will add a Row Action in a Data Table to display an alert message on click.
  • The Action will be a JS function as shown below. Here we have written a function to display an alert dialog. The name of the function is the action field entry in the custom button created. Page.EmployeeTable1_customRowAction = function($event, row) { alert('hello'); };

Data Table Use Cases