jquery - How to set disable/reaonly Kendo UI controls -
i have form various controls such numeric boxes, comboboxes , datepickers. there way how disable/make them readonly @ once? jquery mobile set attribute , call refresh() method.
you can use kendo's widgetinstance method.
$("[data-role]").each(function (index, el) { var widget = kendo.widgetinstance($(el)); if (widget.enable) { widget.enable(false); } });
Comments
Post a Comment