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 want to the file you've attached on this question. WPF - WindowsApplication2.zipBut, I can't download it. The link is not available. What can i do for getting this file?
Hy Sandip.
Thanks very much for the sample. This was exactly what I needed.