Hi,
I am grouping the Grid as shown in the attached image, i need assistance to resolve couple of issues,
The scenario here is that i have RADGrid with 9 columns and 4 Group Expressions in Sharepoint Environment,
1. I need to remove/hide the blank Grid header cells that are formed as a result of grouping. I understand that the first Grid Header cell is of the ExpandCollapse column which is ok, but want to remove or hide the blank Grid Header Cells. I tried looping through the GridHeaderItem.Cells collection and hiding the cells with text but this causes the grid columns width go haywire and also when expand collapse is done the column width is even worse. If hiding or removing is not possible i would like to merge the cells with the first grid column header.
2. As shown in the screenshot, some group headers are blank i.e the group field has null value, in this case i want the grouping to be collapsed i.e the GridRow to be moved up to the previous group header, up until where the GroupField is not blank. As in the screen shot, i would like to have the row moved up 3 places to be shown under GroupField 1 as the other 3 GroupFields are blank
i hope the issue is clear.
Please advice.
Thanks.
I am grouping the Grid as shown in the attached image, i need assistance to resolve couple of issues,
The scenario here is that i have RADGrid with 9 columns and 4 Group Expressions in Sharepoint Environment,
1. I need to remove/hide the blank Grid header cells that are formed as a result of grouping. I understand that the first Grid Header cell is of the ExpandCollapse column which is ok, but want to remove or hide the blank Grid Header Cells. I tried looping through the GridHeaderItem.Cells collection and hiding the cells with text but this causes the grid columns width go haywire and also when expand collapse is done the column width is even worse. If hiding or removing is not possible i would like to merge the cells with the first grid column header.
2. As shown in the screenshot, some group headers are blank i.e the group field has null value, in this case i want the grouping to be collapsed i.e the GridRow to be moved up to the previous group header, up until where the GroupField is not blank. As in the screen shot, i would like to have the row moved up 3 places to be shown under GroupField 1 as the other 3 GroupFields are blank
i hope the issue is clear.
Please advice.
Thanks.