Hy all.
I have a question about the XamDataGrid column headers. Would it be possible to combine 2-3 column headers into a new header like in Excel (see image attached)? Something like a bigger header over the normal header? I have seen a sample in which some labels were arraged before the grid....
http://forums.infragistics.com/forums/t/14582.aspx
But when a column it's resized the label will not change. Is there a solution for this?
Thanks a lot.
Nico
Hi Nico,
If it's the column headers you want to merge over other headers - sort of like display a group header over other column headers - then you can add an unbound field and position it over other other column headers using Field's Row,Column,RowSpan and ColumnSpan properties and hide the cells of the unbound field by setting the CellContentAlignment to LabelOnly. I've attached a sample that does this. However if its the cells you want to merge in select rows, then there's nothing built into the control to do this.
Hope this helps,
Sandip
Hi I tried this, but I am still getting a blank row above the actual cells?
even with
<igDP:UnboundField.Settings> <igDP:FieldSettings CellContentAlignment="LabelOnly" /> </igDP:UnboundField.Settings>
I've come across a need to do this too. I found a work around that isn't as slick as it would be if it was integrated into the grid, but it works.
Hope this helps until the feature is implemented!Jason