Hello,
Please note that during dynamic loading the widget will constantly request for the data until the initial condition is satisfied.
Have a look at the initial data loaded by the server script from the example:
data:[ /*30 records*/ ], pos:0, total_count:999
If the loading script returns a certain count of records per portion, it will request for the new portion of data starting from the last position and will request for data until the count for records per next portion is loaded.
The count for records per next portion (except for the initial one) is controlled by the datafetch parameter.
So to avoid repeated calls, you need to comply with dynamic loading rules:
- parse the requested number of records (
count
parameter of the onDataRequest event);
- parse them in the required position (
start
parameter).
Please check the updated snippet: https://snippet.webix.com/rbf01hmv