Data binding for combo

edited December 2018 in Technical questions

Hello Webix team,

I have a condition in which I am trying to attach data to combo in loop. How can I do that?


  • edited December 2018

    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:

    Or, to parse an array of options at once:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion