Hi,
Can someone suggest me how to hide column headers when we are in grouping mode, so that my column headers are not repeated for each group, whereas the columns are same for all the groups?
So, that only the top header is visible in all groups.
Regards,
Sanjeev
Hi I am using version 9.2 and this is not working for me.
Is there any way to not display the row header in the group by?
Thanks,
Federico
This feature will be available with the 9.1 release. In that version, you will be able to set the FieldLayoutSettings.HeaderPlacementInGroupBy property to OnTopOnly.
As fat as I know, this is not possible.
Alex.
Hi Alex,Thanks for your inputs.I'm trying to achieve the same functionality as MS Outlook, where you have headers on the top only and not repeated for every group.I tried but it is not working with Default and SeparateHeaders.Any other suggestions appreciated.Regards,Sanjeev
Hello Sanjeev,
I am not sure what exactly you are trying to achieve, but you can try this code and see how it works.
If you want to see headers only for the first grouped records, I am not sure if that is possible.
private void xamDataGrid1_Grouped(object sender, Infragistics.Windows.DataPresenter.Events.GroupedEventArgs e) { if (e.Groups.Length == 0) { xamDataGrid1.FieldLayoutSettings.LabelLocation = LabelLocation.Default; } else { xamDataGrid1.FieldLayoutSettings.LabelLocation = LabelLocation.SeparateHeader; } }
ALex.