i have my customer dataTable which has five columns. one column contains hyperlink. One of the column is hyperlink.
i want when user clicks on the row, that row should be selected(which means row color should change and checkbox
should be selected). i can do it with below code snippet
It works great. But my problem is i dont want this to happen on click of link inside one of the column.
how i can do this?
i want when user clicks on the row, that row should be selected(which means row color should change and checkbox
should be selected). i can do it with below code snippet
$("#customer").on('click', $.fn.getDataTablesClickHandler("#selectAll")); //where customer is the html div associated with dataTable and call the same function which gets triggered //on call of selectAll html element. Inside that function i toggle the class of row
It works great. But my problem is i dont want this to happen on click of link inside one of the column.
how i can do this?