server side iSortingCols and aDataSort

server side iSortingCols and aDataSort

foxjwillfoxjwill Posts: 1Questions: 0Answers: 0
edited April 2012 in General
My aoColDefs option is of the form
[code]
[
{ // first name
"aTargets": [0],
"mDataProp": 'first_name',
"aDataSort": [ 0, 1 ],
},
{ // last name
"aTargets": [colInds.last_name],
"mDataProp": 'last_name',
"aDataSort": [ 1, 0 ],
},
]
[/code]
However, when I sort on, say, the 'last name' column, the iSortingCols parameter in the http request sent to my server is 1. How can I get it to be 2 (and then have iSortCol_0 = 1 and iSortCol_1 = 0) ?
This discussion has been closed.