Hii,
My purpose is to set the data in the ComboBox.
I get the data from BD , in this example :
var code = "90"
var label = "doc"
console.log("code : "+code+" - label : "+label)
listAddApeCmpst.model.append({ "code":code ,
"libelle":label
});
modelAPECmpst.append({"name":code}) // can't acces to modelAPECmpst
var code = "90"
var label = "doc"
console.log("code : "+code+" - label : "+label)
listAddApeCmpst.model.append({ "code":code ,
"libelle":label
});
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 :
listAddApeCmpst.model.append({ "code":code ,
"libelle":label
});
listAddApeCmpst.model.append({ "code":code ,
"libelle":label
});
To copy to clipboard, switch view to plain text mode
Regards,
Bookmarks