load data in a combo box

Hi, I have this code,
https://snippet.webix.com/66kr4wcz
And my combo box doesn´t show data, maybe I call bad my data at the line 44, please help

Comments

  • combo is working as expected.
    but you have wrong command at line 79

    this.$$("zonesComboBox").load(col, "json");
    

    to load data into combo, you need to address its list

    this.$$("zonesComboBox").getList().load($url, "json");
    OR
    this.$$("zonesComboBox").getList().parse($data, "json");
    
  • Hi @intregal, thank for the help, but now I have a problem with the view of the combo, it appears behind the map, so I can't select a value because I can't see what I selected.
    Here is the code.
    https://snippet.webix.com/gb09anc6

  • edited August 15

    as a workaround you can use this

    webix.env.zIndexBase = 1100;
    

    AFAICS openMap is using zIndex for positioning with max value 1000
    https://snippet.webix.com/b2o0zkw6
    but you need to use it in the main script, at the very beginning.

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!