Server get request, but 'iSortingCol_0' is always "0" even if I've clicked a different column header
Server get request, but 'iSortingCol_0' is always "0" even if I've clicked a different column header
GrandmaCatBeast
Posts: 1Questions: 0Answers: 0
I am essentially using the code from the examples on the site, heres my table init:
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "../DataTable/GetStuff",
"aoColumns": [
{ "mDataProp": "Id", "sName": "Id", },
{ "mDataProp": "FirstName", "sName": "FirstName" },
{ "mDataProp": "LastName", "sName": "LastName" },
{ "mDataProp": "BirthDate", "sName": "BirthDate" },
{ "mDataProp": "Phone", "sName": "Phone" }
]
Is there something else I need to do?
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "../DataTable/GetStuff",
"aoColumns": [
{ "mDataProp": "Id", "sName": "Id", },
{ "mDataProp": "FirstName", "sName": "FirstName" },
{ "mDataProp": "LastName", "sName": "LastName" },
{ "mDataProp": "BirthDate", "sName": "BirthDate" },
{ "mDataProp": "Phone", "sName": "Phone" }
]
Is there something else I need to do?
This discussion has been closed.
Replies
Allan