Hi team,
wher i read the doc about datatable i anderstand there is some features like server side filtering, sorting et paging need the parameter url like a get cat to https://myserver.com/page to sends parameters via get
like https://docs.webix.com/samples/server/packages_dynamic?start=50&count=40&continue=true
i use a custom url function like
theDataTableLoad = function () {
webix.once(webix.extend($$(theDataTableLeft), webix.ProgressBar))
console.log(arguments)
$$(theDataTableLeft).disable()
$$(theDataTableLeft).showProgress({
type: "icon",
hide: true
});
var input = webix.storage.session.get(theDataTableLeft);
// console.log("input", input);
webix
.ajax()
.post("/JSON/JSON/multi_slurp/getAllFromFilter/", JSON.stringify(input))
.then(function (data) {
var data = data.json().data;
// console.log(data);
$$(theDataTableLeft).clearAll();
$$(theDataTableLeft).parse(data.data);
});
};
so, do exists a tip or semething to gets the events + parameters please ?
i saw the beforeFilter and beforeSort event but pager is missing
it tried onBeforePageChange but it do nothing
https://snippet.webix.com/dxjm5vc5
How can i have the onBeforePageChange event working ok a tip please ?
Regards,
Xavier