unable to get serverside pagination to work with colvis library
unable to get serverside pagination to work with colvis library
I am using datatables 2.2.3 with colvis 1.1.1. Everything works fine with clientside. Basically column filtering, search, sorting all of them work with clientside data.
When I turn on serverside pagination (set bServerSide=true) I see that columns, order search data are being sent as "object" when I remove the reference of colvis library I see that columns as an array of each columns in datatable. I see this data in firebug. Basically iam trying to view the json data being sent to server.
Looking forward for some help.
Without colvis:
{"draw{"draw":2,
    "columns":[
        {"data":"fistcolumnname","name":"firstcolumnname","searchable":true,"orderabale":true,
    },
    "data":"secondcolumnname","name":"secondcolumnname","searchable":true,"orderabale":true,
]
}
With colvis:
{
    "columns":[
        {object:object,object:object,object:object},
        {object:object,object:object,object:object},
        {object:object,object:object,object:object},
]
}
":2, "columns}