Deactivate Datatable caching by paging

Hi,

I have a datatable (short version) like this:

id: "orderData",
view: "datatable",
datafetch: 5,
url: "server/index.php",
columns: [
	{id: "id", header: "#", width: 70, sort: "int"},
	{id: "nickname", header: ["Benutzername", {content: "textFilter"}], sort: "string", minWidth: 60, fillspace: 1},
	{id: "firstname", header: ["Vorname", {content: "textFilter"}], sort: "int", minWidth: 60, fillspace: 1},
	{id: "lastname", header: ["Nachname", {content: "textFilter"}], sort: "int", minWidth: 60, fillspace: 1},
	{id: "gender", header: ["Geschlecht", {content: "selectFilter"}], sort: "int", minWidth: 60, fillspace: 1},
	{id: "country", header: ["Land", {content: "multiSelectFilter"}], sort: "int", minWidth: 60, fillspace: 1},
],
pager: "pagerA",

While paging for first time on a page, data will be loaded from server. Second time on a certain page, data is loaded from cache → no server call again.

How is it possible to disable this handling. Every time a page is changed, I want to load live data from the server?

Thanks a lot.

Best regards

Sven.

data is loaded from cache

Not exactly “loaded from cache”.
Loaded data is stored in the in the DataStore of datatable - the behaviour is the same for scrolling/paging.

It is possible to remove the existing content before loading the next bunch of data, but in fact, it’s a “pseudo-dynamic” loading.

To do so, you can use loadNext method (sample).

Default Webix pager relies on the data count of the master datatable. Usually, it comes from the server response on initial loading (sample) or calculated from the currently available data.

If you need to get “pseudo-dynamic” behaviour with the Webix pager, you need to use it as a standalone component and set loadNext with the necessary parameters depending on the required page, which is a relatively complex solution.

Please check the snippet: Code Snippet