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

edited February 2012 in DataTables 1.9 Posts: 1
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?

Replies

  • Posts: 22,665
    Nope - that looks like it should be fine. Can you give me a link to your page please?

    Allan
This discussion has been closed.