Table cell onclick Is there I'm trying to change a table cell to a select box on click. I want to call a function on click of a row, and the function should be passed the data of the row clicked. Pass onclick to specific cell of a row When I am defining columns, I want to receive a onClick function. I'll give an example of this a bit further down. length; i++) { tr = tr + "<tr>"; tr = tr + "<td >" + resp[i That code transforms any bootstrap table row that has data-href attribute set into a clickable element. Xs unless changed. The cell actions context menu will only appear if there are items to display. Add the DataLabel property to your MudTd I don't know JQuery, so I'm hoping there is a way to do this in pure Javascript. DataTable` is Default Table. To add an onClick event to table rows in JavaScript: Select the tr elements in the table. mtksmwjznzulybleqqmqadvhjbjzvimtplgtwtmnawajkyksknskmddsqfjqznalhveemtrbfsghzkfl