Hii,

My purpose is to set the data in the ComboBox.

I get the data from BD , in this example :
Qt Code:
  1. var code = "90"
  2. var label = "doc"
  3. console.log("code : "+code+" - label : "+label)
  4. listAddApeCmpst.model.append({ "code":code ,
  5. "libelle":label
  6. });
  7.  
  8. modelAPECmpst.append({"name":code}) // can't acces to modelAPECmpst
To copy to clipboard, switch view to plain text mode 

I tried to use children property, but in vain !!

Other question why listview model doesn't set values in Combobox :
Qt Code:
  1. listAddApeCmpst.model.append({ "code":code ,
  2. "libelle":label
  3. });
To copy to clipboard, switch view to plain text mode 

Regards,