Hi, am still trying to figure out data binding, in 4 settings:
- Binding an array to a datatable.
In this case, i think I have it:
const users = new webix.DataCollection()
{
view: 'datatable',
data: users
}
ie: basically set the ‘data’ property to a DataTable, then add/remove to the DataCollection, and the view automatically syncs.
- Binding a value to a form control.
I expected this to work, but it did not:
const username = new webix.DataValue()
{
view: 'text',
value: username
}
-
Binding a Record to a Form.
-
Binding an attribute (e.g. background color) to a DataValue.
Thoughts?
David