Sorry mike - I got my questions confused. I had posted something else about the caption header exporting as 1 single line not 3 lines and I posted this response here instead of there. I have been able to figure both things out. Sorry.
Hi Jim,
You lost me. What does exporting have to do with it? What are you exporting to? Excel? PDF? XPS?
The exporter components all have events like HeaderCellExporting/HeaderCellExported that you could use. But I don't know what you are trying to do there.
thanks Mike. I'm working on a "work around". Do you know how to trap the Exporting of a Group header Caption or just a group when doing exporting? thanks -jim
Hi,
The standard row layout mode does not support groups within groups. But you could do this by setting RowLayoutMode to GroupLayout. This is relatively new functionality in the grid, so you need to be using a fairly recent release. I recommend using the RowLayout designer at design-time to set up your layout. So what you do is go to the grid designer (click Start on the grid on your form at Design-time), then go to "Band and Column Settings", find the band you want and go to "Column Arrangement Overview" and then select "Use Row Layout with Groups" from the three choices at the bottom.
If you data source is not available at design-time, you will have to establish the data schema first. Be sure to set the Key of the band and the Key of each column of your schema to the same names that the data source will be using at run-time.