Don't activate select if clicking on a link
Don't activate select if clicking on a link
tacman1123
Posts: 198Questions: 46Answers: 1
I'm configuring a datatable to use the slick multi-select option:
select: {
style: 'multi',
className: 'site-selected'
},
But within the datatable there's a link that opens in a new window, to allow someone to view the full record before deciding to select it. But clicking on that link also selects the row, making for a confusing experience for the user.
Basically I'd like to be able to indicate to datatables to NOT select the row when certain element types are selected. Is this possible? Or even exclude certain columns.
Thanks.
This discussion has been closed.
Answers
You would use the
select.selector
to control which columns are used for selecting the rows.Kevin
Thanks!