Hello Webix team,
I have a condition in which I am trying to attach data to combo in loop. How can I do that?
Hello Webix team,
I have a condition in which I am trying to attach data to combo in loop. How can I do that?
Hello @Tejal
Could you please clarify your requirements a bit further?
In the above snippet, you have attached several identical handlers to the same event which will not fire until the view is rendered once more.
But please note that such implementation is not the best option for data loading. Rendering (and all corresponding events) is also will be triggered by any UI resize, so please use onAfterRender carefully.
To see how it works, please check this snippet:
First of all, data should be loaded with the corresponding methods:
parse
(or load
for remote resources) for multiple records or add
for a single record.
For example: https://snippet.webix.com/fxoog9x5
Or, to parse an array of options at once: https://snippet.webix.com/i9acxj7a