Currently there does not seem to be a way to get a reference to all kendo controls within a specified element or otherwise and perform generic operations on them.
I would propose you be able to call a JQuery method and do such things as the following:
$(.kendoControlClass').each(function () {
$(this).getKendoControl.enable();
});
or call methods on specific type of controls
$(.kendoControlClass-selectable').each(function () {
$(this).getKendoControl.clearSelection();
});
Hi Alex,
This is possible by querying the DOM elements using the data-role attribute and getting the instance by using kendo.widgetInstance method. Here you are a dojo example: https://dojo.telerik.com/@iankodj/OwalaTId.
Regards,
Ianko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.