Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3740

DT_Rows and IdSrc if source is array in arrays

$
0
0

Hi, i am using array in arrays as source for dataTables generated from serverside
Now i am trying in trial version add Editor to my original Datatables

I have in my dataTables defined

idSrc: 'id',
columnDefs: [
    { name : 'id', targets: 0, },
    /... etc
],

This idSrc doesn't work.

Must i transform on serverside my whole json from array of arrays to array of objects ?
or is some third way how to define that my id is on position 0 in array for Editor ?


Viewing all articles
Browse latest Browse all 3740