Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateDropdown() {
- var ddl = $("#dropdown").data("kendoDropDownList");
- updateDataSourceForDropdown(ddl);
- bnfDropDownList.dataSource.read();
- }
- function updateDataSourceForDropdown(kendoDropDownList) {
- var dataRequestReadProperty = kendoDropDownList.dataSource.transport.read;
- var requestPayload = getPayload();
- dataRequestReadProperty.data = requestPayload;
- }
- function getPayload() {
- return {
- key: "value"
- }
- }
Add Comment
Please, Sign In to add comment