I waste a lot my time on internet just to find a tutorial bind data php with combobox, I don't know why have just a few of tutorials combobox and can't did something I want.
Someone help me please, the combobox not show any data, this is my code. Thank you for reading my topic
Someone help me please, the combobox not show any data, this is my code. Thank you for reading my topic
var pCate=new kendo.data.DataSource({
transport:{
read:{
url:"../data/product_cate.php",
dataType:'json'
}
}
});
$("#cbProductCate").kendoComboBox({
index:-1,
dataTextField: 'name',
dataValueField: "id",
dataSource:pCate
});