Examples › Links or buttons inside clickable rows or cells
Click events bubble up the DOM tree, so when the user clicks on a link, button or other interactive component placed inside a clickable row, clickable cell, expandable row or a row with a context menu triggered by click instead of right-click, the row or cell will react to the click as well.
To prevent this, intercept the click event on the interactive component and call its .stopPropagation() method.
For example, the table below implements both expandable rows and row actions. Clicking on a row expands it, while clicking on an action button only opens a modal dialog, without toggling the row expansion:
No records
Here’s the code:
Head over to the next example to discover more features.














