Reputation: 41
i am using Tabulator version 6.3 I tried to change the dataSendParams from "sort[0][field]" to "orderBy" without success. As we can read in the documentation: https://tabulator.info/docs/6.3/page#remote-url
If you need to change the names of any of these parameters
to fit your existing system, you can use the dataSendParams option
to set alternative parameter names.
I tried the solutions found in other posts, but without success.
var table = new Tabulator("#example-table", {
pagination:true, //enable pagination
paginationMode:"remote", //enable remote pagination
ajaxURL:"http://testdata.com/data", //set url for ajax request
dataSendParams:{
"sort[0][field]":"myField",
"sort[0][dir]":"dir"
} ,
});
Any updates for this issue in version 6.3 ? thank you
Upvotes: -1
Views: 21