How to add the HTML5 data-* attributes - cell data in ajax server side proccessing???
How to add the HTML5 data-* attributes - cell data in ajax server side proccessing???
rajaaa
Posts: 21Questions: 10Answers: 2
How to add the attributes like
data-sort or data-order - for ordering data
data-filter or data-search - for search data
to the datable cells in ajax when getting data from server side processing...
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
To use orthogonal data with server-side processing, you wouldn't put the values into the HTML attributes - that would just be a performance hit since you would be writing them to the DOM and then reading them back. You can just keep it all in Javascript using the
columns.render
option as a function.Allan