Is there any way to make certains rows unselectable for an 'multi-selecting' table tools
Is there any way to make certains rows unselectable for an 'multi-selecting' table tools
machinarium
Posts: 17Questions: 0Answers: 0
Hi,
As titles. Is there any way to make some rows unselectable for an 'multi-selecting' table tools?
@Alan, thanks for your such an amazing table tool. I will never hesitate to give you all my respect.
Thanks,
Arthur
As titles. Is there any way to make some rows unselectable for an 'multi-selecting' table tools?
@Alan, thanks for your such an amazing table tool. I will never hesitate to give you all my respect.
Thanks,
Arthur
This discussion has been closed.
Replies
Yes - use the fnPreRowSelect ( http://datatables.net/extras/tabletools/initialisation ) function. You can perform a logic test to deny some rows from being selected.
> @Alan, thanks for your such an amazing table tool.
Thank you :-)
Regards,
Allan
if ( e.currentTarget.className.indexOf('no_select') != -1 ) {
return false;
}
return true;
}[/code] will fail due to e is undefined when selecting all. So how to deal with this kind of issues? thanks.