I have a datatable with a key-values collection that looks like this.
[
{key: "gender", values: [
{value:"1", label:"Male"},
{value:"2", label:"Female"}
]},
{key: "payment_types", values: [
{value:"1", label:"Cash"},
{value:"2", label:"Credit Card"},
{value:"3", label:"Debit Card"},
{value:"4", label:"Invoice"}
]}
]
Each key can have multiple values. I am able to display this in the grid using the format function for the values.
Now, I want to be able to bind this to a form as shown in the example http://webix.com/snippet/b291b2be. How do I go about this? Are there some advanced options in the “bind” method?
(I am new to Webix and Webix is awesome by the way).