Hello. I have TableTools extension with "sRowSelect": "multi" property and i have some issues. The major problem is: i have a cell with checkbox for row selection and i have cell with links. When i click on link the row gets selected which i dont want. I want row become selected when i click on checkbox (this part is easy).
I tried to implement custom selection through API with fnSelectRow function but this function does not work if i set "sRowSelect" to null. I tried to implement custom link click function but the selection function called before it so i cant prevent selection from within .click function like:
So i have an option to delegate click on TD element then extract target attribute and manually call click function but i dont like this solution. Is there any other option?
I tried to implement custom selection through API with fnSelectRow function but this function does not work if i set "sRowSelect" to null. I tried to implement custom link click function but the selection function called before it so i cant prevent selection from within .click function like:
$('.link').live('click', function(e) { e.preventDefault(); return false; });
So i have an option to delegate click on TD element then extract target attribute and manually call click function but i dont like this solution. Is there any other option?