I have an UltraGrid (Infragistics.Win.UltraWinGrid) which has several kinds of headers. The layout takes this format:
Section HeaderColumnX ColumnYDataX1 DataY1DataX2 DataY2... ....
I currently use this.DisplayLayout.Override.AllowMultiCellOperations = AllowMultiCellOperation.CopyWithHeaders; when I copy with headers. However, when I do a copy with headers and paste, my results take the format:
ColumnX ColumnYDataX1 DataY1DataX2 DataY2... ....
Hi,
What is the Section Header? Is that a group header? Or a column header? Are you using RowLayouts?
I'm pretty sure that the current AllowMultiCellOperation functionality in the grid does not support group headers, but your solution might work if the section header is a column header acting as a group header.
Hi Mike,
The section headers' titles are the keys for their corresponding UltraGridGroups. Each UltraGridGroup contains two columns. All of the first columns of each UltraGridGroup have the same title in their column header (I called them "X" in the earlier post), and likewise all of the second columns of each UltraGridGroup have the same title ("Y"). So the Data values from my example are in their corresponding columns' cells, and "X" or "Y" is the key for the column headers.
I don't believe we are using RowLayouts on this form.
Thanks!
I don't see any way to do this using Groups. Group Headers are not included in the Copy operation.
You should Submit a feature request to Infragistics
Thanks. I have submitted the feature request.