or
function
searchInit(){
console.log(
'ClientID = '
+clientID);
var
searchPartnerSource =
new
kendo.data.DataSource({
transport: {
read:
"/scripts/db/partners.php?task=select&subtask=getContacts&EEID="
+eeMemberID+
"&ClientID="
+clientID
},
schema: {
data:
"data"
},
pageSize: 5
});
console.log(searchPartnerSource);
}
var
dropdownList = $(
'#list'
).data(
"kendoDropDownList"
);
dropdownList.dataSource.data([{ text:
"i1"
, value:
"1"
}, { text:
"i2"
, value:
"2"
}, { text:
"i3"
, value:
"3"
}]);