How to attach data to created custom view

Hi All I am working on a webix project, I am very new to this platform. I am going through all forum discussions to understand how to create a custom view. I some how succeeded in creating a custom view. I am facing difficulty in stitching data to the created view variable. I did n’t get any proper resource for this.

Please find my example custom view and layout at

http://webix.com/snippet/395e23ab

My layout has one custom toolbar which has “combo” on it. It need to bring show some drop down options dynamically.

It also has a custom dataTable in which data need to be attached to the created custom view.

Please help me in this…!

Thanks in advance

You can push data property from the custom component into the config of inner widget.

http://webix.com/snippet/b4576531

Or, in you case, it may be better just to create a custom widget on base of datatable, not a layout.

http://webix.com/snippet/1460ee5b

Hi Maksim

Thanks for your valuable help…!

But if you see my layout has custom toolbar too…
How to source data into the options “combo”…?
To make it more simple I have added options a, b and c here.
Is there any way for me to specify like the way we specified data as an option for customdataTable.

And more over if you see my Layout has two custom toolbar rows. if you select top toolbar and modify the combo, the combo in below tool bar are changed.
Should I need to create two different custom toolbars for this to get rid off ?

code : http://webix.com/snippet/be2dc30f

Please help me on this…!

Thanks and Regards
Ravikiran Bhonagiri

Please check

http://webix.com/snippet/8827d14c

In this sample, the single property used for all combos, but of course, there can be different properties for each combo.

the combo in below tool bar are changed

Caused by non-unique ids ( the combos in both toolbars have the same IDs )