We can create DropDownLists by class:
$(".theClassName").kendoDropDownList({});
And we can reference them by id to apply methods:
var list = $("#theID").data("kendoDropDownList");
list.select(0);
list.refresh();
But it doesn't seem we can reference all lists by classname:
var allLists = $(".theClassName").data("kendoDropDownList");
allLists is undefined. Is there a way to apply a method to all dropdownlists of the same class?
$(".theClassName").kendoDropDownList({});
And we can reference them by id to apply methods:
var list = $("#theID").data("kendoDropDownList");
list.select(0);
list.refresh();
But it doesn't seem we can reference all lists by classname:
var allLists = $(".theClassName").data("kendoDropDownList");
allLists is undefined. Is there a way to apply a method to all dropdownlists of the same class?