DataTables logo DataTables

Server get request, but 'iSortingCol_0' is always "0" even if I've clicked a different column header
  • 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?
  • Nope - that looks like it should be fine. Can you give me a link to your page please?

This discussion has been closed.
All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Get useful and friendly help straight from the source.