PDF Cell Style Customization
18 Nov 20181 minute to read
Conditional cell formatting
TreeGrid cells in the exported PDF can be customized or formatted using pdfQueryCellInfo event. In this event, we can format the treegrid cells of exported PDF document based on the column cell value.
In the below sample, we have set the background color for Duration column in the exported document by args.cell and backgroundColor property.
Theme
PDF export provides an option to include theme for exported PDF document.
To apply theme in exported PDF, define the theme in exportProperties.
NOTE
By default, material theme is applied to exported PDF document.
You can refer to ourASP.NET Core Tree Gridfeature tour page for its groundbreaking feature representations. You can also explore our ASP.NET Core Tree Grid exampleASP.NET Core Tree Grid exampleto knows how to present and manipulate data.