Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to align Group Summary items by columns when the grid is being printed

$
0
0

This example demonstrates how to align Group Summary items by columns when the grid is being printed. For this, it is necessary to override the default PrintGroupRowTemplate and place an additional ItemsControl descendant within it. Note that the descendant must contain the ItemTemplateSelector property that selects the ItemTemplate depending on the column type. This new ItemsControl will be used to display group values via TextEdits that are placed within the ItemsControl's ItemTemplate and are arranged by the column.

Example Comments

Added By: at: 1/23/2013 9:20:39 AM    

Will this also work for Export to excel?

Added By: John Kerin at: 1/31/2013 6:53:12 AM    

Any update on if this will work for export to excel

Added By: Liam McNamara at: 2/7/2013 5:39:10 AM    

Is it possible to do this in WPF? I put the code into a WPF project but I get an error: "A TwoWay or OneWayToSource binding cannot work on the read-only property 'DisplayText' of type 'DevExpress.Xpf.Grid.GridGroupValueData'."


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>