Event should not apply to whole row
Event should not apply to whole row
ghata
Posts: 1Questions: 1Answers: 0
I am applying click event for the table row.But it should apply only on some specific cells not all.
This discussion has been closed.
Answers
https://datatables.net/extensions/select/examples/api/events.html
https://datatables.net/extensions/select/examples/initialisation/cells.html
You might also want to look into jQuery selectors which will let you pick which elements an event handler will trigger on. Particularly the
:nth-child()
selector can be useful for working with columns.Allan