Hi,
I need to be able to show / hide (toggle) all columns in a grid view where the columns name begins with (A). I've search and found this script:
Does anybody have any suggestions how it could be tailored to accomplish my goals?
I need to be able to show / hide (toggle) all columns in a grid view where the columns name begins with (A). I've search and found this script:
function
HideColumn(index)
{
var
columnCount = RadGrid1.get_masterTableView().get_columns().length - 1;
if
(index < 0 || index > columnCount)
{
alert(
"Invalid index! The valid range is: "
+ 0 +
"-"
+ columnCount);
}
else
{
RadGrid1.get_masterTableView().hideColumn(index);
}
}
Does anybody have any suggestions how it could be tailored to accomplish my goals?