How to add the data-attributes in the JSON format????
How to add the data-attributes in the JSON format????
I have get the data's from JSON by the server side processing but i don't know how to add the data-order in the table.
And while searching for the solution i got the function.
{object} DT_RowData - Add HTML5 data- attributes to the TR element. This is an object of key / value pairs which are assigned as data attributes to the TR element.
but i want to know how i can add more than one data-order's or data-search in a row ie., for each column or cell in a row..
https://datatables.net/examples/advanced_init/html5-data-options.html