daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Feb 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function updateDropdown() {
  2.   var ddl = $("#dropdown").data("kendoDropDownList");
  3.   updateDataSourceForDropdown(ddl);
  4.   bnfDropDownList.dataSource.read();
  5. }
  6.  
  7. function updateDataSourceForDropdown(kendoDropDownList) {
  8.   var dataRequestReadProperty = kendoDropDownList.dataSource.transport.read;
  9.   var requestPayload = getPayload();
  10.   dataRequestReadProperty.data = requestPayload;
  11. }
  12.  
  13. function getPayload() {
  14.  return {
  15.     key: "value"
  16.   }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top