Hi,
I have a table containing 28 dynamically generated KendoUI buttons that represent a 28 day cycle. Im trying to enable and disable them all at once, but only the first button is being affected. Please advise.
//Inialize ALL 'day selection' buttons$("#table-frequencyWindow-daySelection").find("button.dayButton").kendoButton({ enable: false});//Inialize Frequency Selecter as kendo Drop Down List$("#select-frequencyWindow-frequency").kendoDropDownList({ change: function(e) { var daySelectionTable = $("#table-frequencyWindow-daySelection"); console.log(daySelectionTable.find("button.dayButton").length) //Prints "28" if (this.value() == "") { daySelectionTable.find("button.dayButton").data("kendoButton").enable(false); } else { daySelectionTable.find("button.dayButton").data("kendoButton").enable(true); } }});