selecting row on click of row but not on link click ?

selecting row on click of row but not on link click ?

motguptamotgupta Posts: 19Questions: 5Answers: 0
edited December 2012 in General
i have my customer dataTable which has five columns. one column contains hyperlink. One of the column is checkbox.
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

[code]
$("#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

[/code]

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?
This discussion has been closed.