Dont need to show me how. It would be appreciated, but at 1st I need to know if it is possible to on the client iterate through rows on a RadGrid and change the selected item of a RadComboBox in each row. It isnt our ultimate goal. We want when a parent row is changed for all the comboboxes in the child to get changes to the same, but the code below is a start.
I try this and no visible change is made in the grid.
for (var i = 0; i < Telerik.Web.UI.RadComboBox.ComboBoxes.length; i++) {
var combo = Telerik.Web.UI.RadComboBox.ComboBoxes[i];
var item = combo.findItemByText(changedValue);
if (item) {
item.select();
}
}
for (var i = 0; i < Telerik.Web.UI.RadComboBox.ComboBoxes.length; i++) {
var combo = Telerik.Web.UI.RadComboBox.ComboBoxes[i];
var item = combo.findItemByText(changedValue);
console.log(item);
if (item) {
item.select();
}
}