Hi Team,
Much like using grid, I’m trying to load the list for the combobox by using a php file as below:
var cust_dropdown_box_config = {
label:"Select Customer:",
labelInline: true,
labelWidth: 150,
readonly:true
}
var cust_dropdown_box = new dhx.Combobox("cust_select", cust_dropdown_box_config);
cust_dropdown_box.data.load("getCustomerNames.php");
If I load the php file manually:
http://localhost/xxx/getCustomerNames.php
[{value:'Custname'}, {value:'Custname2'}]
Seems correct, but doesn’t work.
Any ideas?
Thanks!
Ewan