The Xls圎xportOptionsEx.CustomizeCell event allows you to replace values in the Discontinued column with special symbols. Cell formatting is specified using objects of the XlFormattingObject class. In the event handler, the AddRow, InsertImage and MergeCells methods of the event’s ExportContext parameter are used to add rows with the company name and contact information, insert the company logo and merge specific cells. To add a header displaying custom information to the generated MS Excel document, the Xls圎xportOptionsEx.CustomizeSheetHeader event is handled. Note that you can perform similar customizations when exporting to other formats. This parameter provides events that allow you to add a header and footer to the export output, to customize cells, add rows, etc. In this example, the grid’s data is exported to XLSX format using the GridControl.ExportToXlsx method with a parameter (an Xls圎xportOptionsEx object) that regulates export settings and behavior. This example demonstrates how to customize the GridControl’s data-aware export output. How to: Customize the GridControl's Data-Aware Export Output
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |