init
This commit is contained in:
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;
|
||||
})();
|
||||
Reference in New Issue
Block a user