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

How to export colored GridView

$
0
0
UPDATED:

Starting with version v2015 vol 2 (v15.2), this functionality is available out of the box. Use GridViewSettings.FormatConditions rules to define conditional formatting in Browse Mode and keep the applied appearance in the Exported Document. Please refer to the ASP.NET Grid View - Data Range Filter, Adaptivity and More (Coming soon in v15.2) blog post and the Export with Format Conditions demo for more information.
If you have version v15.2+ available, consider using the built-in functionality instead of the approach detailed below.

If you need to apply custom appearance in the Exported Document only or define fine tuned complex appearance (for instance, based on some runtime calculated values, custom business rules, etc.), use the GridViewSettings.SettingsExport.RenderBrick event in the WYSIWYG export mode.

See Also:
E4098: How to export a colored grid when the Data Aware export mode is used

Viewing all articles
Browse latest Browse all 7205

Trending Articles



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