init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
16
KretaWeb/Scripts/KendoHelper/KretaDropDownListHelper.js
Normal file
16
KretaWeb/Scripts/KendoHelper/KretaDropDownListHelper.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
var KretaDropDownListHelper = (function () {
|
||||
var kretaDropDownListHelper = function () {};
|
||||
|
||||
kretaDropDownListHelper.getKendoDropDownListData = function (dropDownListId) {
|
||||
var dropDownList = $('#' + dropDownListId);
|
||||
var dropDownListData = dropDownList.data('kendoDropDownList');
|
||||
return dropDownListData;
|
||||
};
|
||||
|
||||
kretaDropDownListHelper.refreshDropDownList = function (inputName) {
|
||||
var widget = $('#' + inputName).data('kendoDropDownList');
|
||||
widget.dataSource.read();
|
||||
};
|
||||
|
||||
return kretaDropDownListHelper;
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue