I created two functions to expand and collapse a row in a RadGrid control.
It works well in IE9, Firefox and Chrome, but it fails in IE8.
The $telerik object returns as undefined.
v 2012.1.411.35
function rgOption_Expanded(sender, args) {
var item = args.get_item();
var label = $telerik.findElement(item.get_element(), "options");
label.style.display = "block";
}
function rgOption_Collapsed(sender, args) {
var item = args.get_item();
var label = $telerik.findElement(item.get_element(), "options");
label.style.display = "none";
}
It works well in IE9, Firefox and Chrome, but it fails in IE8.
The $telerik object returns as undefined.
v 2012.1.411.35
function rgOption_Expanded(sender, args) {
var item = args.get_item();
var label = $telerik.findElement(item.get_element(), "options");
label.style.display = "block";
}
function rgOption_Collapsed(sender, args) {
var item = args.get_item();
var label = $telerik.findElement(item.get_element(), "options");
label.style.display = "none";
}