Clickable Row in Datatable
Clickable Row in Datatable
RawanM
Posts: 1Questions: 1Answers: 0
I have a datatable with over 10 columns ,I want one of these solutions
First: detect some columns to be clickable and some don't
Second: make some columns display none but they have values.
How Can I do any one of these Solutions for my Problem.
This discussion has been closed.
Answers
You can use
columns.createdCell
to add a class to the columns you want to be clickable.columns.render
is used to alter the display of the cell. Also look at the following docs:https://datatables.net/manual/data/orthogonal-data
https://datatables.net/manual/data/renderers
Kevin