Unable to select row when clicking on tags after columnDefs manipulation
Unable to select row when clicking on tags after columnDefs manipulation
Having trouble with Select not being able to click on
<
div> elements in the cell after using columnDefs to combine multiple column data into 1 cell. Is there a class I should decorate these tags with or another method I can use to get the desired output look , while also being able to click anywhere within the row to select it?
My final project will have 2 or 3 of these cells that combine multiple column data and I don't want the end user having to try multiple attempts at selecting a row due to unresponsive elements.
This question has an accepted answers - jump to answer
Answers
In your example, select works for me everywhere except in that div you are inserting into the first column.
I think you'll need the selector option to explicitly get around that issue.
https://datatables.net/reference/option/select.selector
Hi,
This unfortunately is a known issue in Select which I've already committed a fix for. The fix is available in the nightly if you want to use it immediately, and will be available in the next release of Scroller which will likely be next week.
Allan
Thanks Allan, seems to be working perfectly once I use the nightly.