I've got a RadGrid with programmatically generated columns, including a variable number of column groups.
Each of the column groups contains two/three columns, and I want to hide the columns along with the associated ColumnGroup.
Above the RadGrid I have a series of checkboxes, one for each column group. The goal is to have the user
check or uncheck the boxes depending on what columns they wish to see. Currently I am setting the columns
' Display properties when a checkbox's checked value is changed by using
radgrid.Columns.FindByUniqueName("columnName").Display.
And also tried radgrid.MasterTableView.ColumnGroups.FindGroupByName("colGroupname").Display = False but there is no
Display property for that and the Visible property is ReadOnly. So I managed to hide ColumnGroup by applying
CSS class to hide the Column group.
But the export to excel is not reflecting the hidden group and also it reshuffles the columns into excel file.
So please suggest the option to hide the Column group into export file or any alternate option to achieve the same.
Each of the column groups contains two/three columns, and I want to hide the columns along with the associated ColumnGroup.
Above the RadGrid I have a series of checkboxes, one for each column group. The goal is to have the user
check or uncheck the boxes depending on what columns they wish to see. Currently I am setting the columns
' Display properties when a checkbox's checked value is changed by using
radgrid.Columns.FindByUniqueName("columnName").Display.
And also tried radgrid.MasterTableView.ColumnGroups.FindGroupByName("colGroupname").Display = False but there is no
Display property for that and the Visible property is ReadOnly. So I managed to hide ColumnGroup by applying
CSS class to hide the Column group.
But the export to excel is not reflecting the hidden group and also it reshuffles the columns into excel file.
So please suggest the option to hide the Column group into export file or any alternate option to achieve the same.