hi Telerik
I want to show/hide one column in hirarchial grid with 2 nested detail tables on the click of a checkbox or a button. kindly help me on how to do this. I have tried the following by placing it at various places in rad grid pre render event or on click of button or on click of checkbox. but the problem is that it does show the column but without the column header. though column header text does exist in the aspx page.
I want to show/hide one column in hirarchial grid with 2 nested detail tables on the click of a checkbox or a button. kindly help me on how to do this. I have tried the following by placing it at various places in rad grid pre render event or on click of button or on click of checkbox. but the problem is that it does show the column but without the column header. though column header text does exist in the aspx page.
foreach
(GridDataItem item in RadGrid1.Items)
{
if (item.OwnerTableView.Name != "Signpost")
{
GridBoundColumn detailColumn = (GridBoundColumn)item.OwnerTableView.GetColumn("overview");
detailColumn.Display =
true;
detailColumn.Visible =
true;
item[
"overview"].Visible = true;
}
}
kindly help on how to get this working.i have seen all set of examples for this on the forum but couldnt get it done for myself.
ASP.Net version is 2.0 and Rad controls for asp.net ajax 2008 Q1
many thanks and best regards
Ash