Hello! Please tell me how to do it right:
- Dynamic data loading from external storage (#mastertable does not load data)
- Data sorting (#mastertable does not sort data / #table1 error while sorting)
- Working data binding for list
Hello! Please tell me how to do it right:
3. Working data binding for list
The list must have an additional property. dynamic
https://snippet.webix.com/cor3177m
Hello @lBeJIuk ,
- Dynamic data loading from external storage (#mastertable does not load data)
The point is that dynamic loading - it’s a feature of the widgets only
So if you want to use dynamic loading in datatables, you should add url to each column like
{
id: 'mastertable',
view:"datatable",
url: '...',
...
}
and
{
id:"table1",
view:"datatable",
url: '...',
...
}
Sample: Code Snippet
- Data sorting (
mastertable
does not sort data /table1
error while sorting)
Concerning to the first datatable: our server does not handle a sort request
table1
error while sorting
autoConfig sets sorting client
So you need to add server sorting and configure your server correctly
Hello,
Ok, if you remove datacollection and add url to each column it will work
Please check https://snippet.webix.com/mrui3k7h