When I setup dataview with url option I receive error:
Uncaught TypeError: Cannot read property ‘id’ of undefined.
webix_debug.js:9438 (_toHTML)
If I directly declare data property with JSON object, then eveything works ok. Only when using url it fails due to some unknow id.
Dataview is part of a multiview.
Any thoughts?
EDIT: debugging through shows that error is raised when processing 50th record.
EDIT 2: found out it has something to do with heights. If I remove autoheight on dataview and define item height, it works. But I specifically wanted no fixed heights. Only in this case it complains with unknown ID. Could this be a bug?
What I would like to accomplish is to have a “list kind of view” that will support dynamic loading of big datasets and also allow me to have little “details” option in each item which will expand item to show more info. If I use dataview component with fixed height, item will not expand due fixed height limit and hidden overflow.
Does list component support dynamic loading
There is no auto-loading on scroll, but you can implement paging or loading on demand.
What I would like to accomplish is to have a “list kind of view” that will support dynamic loading of big datasets and also allow me to have little “details” option
You can use datatable with a single column, hidden headers and subrows for the info. Or you can use a list, with a custom scroll handler, which will issue extra loading command when a list is scrolled nearly to a bottom.