Hello,
The width:"auto"
setting is not compatible with dynamic loading as the component needs to know the dimensions of its items to request server for the new data.
The correct sample is: https://snippet.webix.com/d149fga8
@Helga Thank you for your answer.
Can you help me solve that problem? I want to continue to load automatically when users scroll to the list below. what should I do?
https://snippet.webix.com/sezovhy7
When I return normal data format
data: [....]
If don’t have pos
and total_count
it’s perfect width and height
type: {
height: "auto",
width: "auto"
}
I want to continue to load automatically when users scroll to the list below.
Yep, it’s possible to tune dynamic scroll-based loading even if there are not total_count and pos in your server data. But please note that this technique relies on fixed item height to calculate scroll position.
Here’s the snippet: https://snippet.webix.com/s3r49xj0
Please check the related blog artice to learn the details of implementation: https://blog.webix.com/dynamic-loading-fetching-unlimited-number-of-records-from-server-side/