how to get checkbox value of current row in user-select event
how to get checkbox value of current row in user-select event

Hi,
I have first column as checkbox (input type='checkbox') in my datatable.
I want to row to be selected only if checkbox is checked in that row. currently if user click in first column outside of checkbox, it selects row even though checkbox is not selected.
I understood that to stop selecting row, we need to use user-select event but in that how do I make that conditionally based on checkbox status of that row? Please give me example to solve this problem. Thanks.
This discussion has been closed.
Answers
Are you using the Select extension?
If so, then this example should help:
https://datatables.net/extensions/select/examples/initialisation/checkbox.html
If not then please post a link to your page or a test case so we can see what you have. Otherwise it will be difficult to make suggestions.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin