Under Review
Last Updated: 06 Jan 2022 13:16 by ADMIN
Alex
Created on: 08 Feb 2017 17:09
Category: Kendo UI for jQuery
Type: Feature Request
1
Generic Control methods
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();
    });
1 comment
ADMIN
Ianko
Posted on: 06 Jan 2022 13:16

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/.