Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35377

Can we add custom column index in Jquery datatable instead of default 0, 1, 2?

$
0
0

I am using jquery datatable 1.9 version. I am preparing my table columns dynamically which comes from database and has unique id. I want to assign that unique id in database as an index to datatable columns so that I could easily map backend result sets with the column index.

Is there any way to assign custom index. By default it take 0, 1, 2 etc.

I have already reffered documentation but couldnt find any parameter to assign index

http://legacy.datatables.net/usage/columns#mData


Viewing all articles
Browse latest Browse all 35377

Trending Articles