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

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

js10855js10855 Posts: 1Questions: 1Answers: 0

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.

Answers

This discussion has been closed.