hi
i have added an image button to the gridbound column one to expand the column and the other to collapse and i used the following javascript to execute the above requirement
i have added an image button to the gridbound column one to expand the column and the other to collapse and i used the following javascript to execute the above requirement
function CollapseColumn(index, element)
{
//var cols = <%= RadGrid1.ClientID %>.MasterTableView.Columns;
<%= RadGrid1.ClientID %>.MasterTableView.ColGroup.Cols[index].width = "20px";
element.style.display = "none";
element.nextSibling.style.display = "";
}
function ExpandColumn(index, element)
{
//var cols = <%= RadGrid1.ClientID %>.MasterTableView.Columns;
<%= RadGrid1.ClientID %>.MasterTableView.ColGroup.Cols[index].width = "";
element.style.display = "none";
element.previousSibling.style.display = "";
}
but it is working when i use gridtemplate column and not for boundcolumn pl help me to fix this i want this for g ridboundcolumn