The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
HAhaneefm Syncfusion Team July 11, 2007 11:02 PM UTC
Hi Code12345,
If you want to affect the column/row headers, handle the Model’s QueryCellInfo event, and set the appropriate style when row zero or column zero is requested.
Thanks for the input. =) I think I might just try to turn on the column header borders all the time. Could you provide an example of how to do this? Thanks!
HAhaneefm Syncfusion Team July 12, 2007 07:37 PM UTC
Hi code12345,
You can conditionally turn ON the border by enable flag before call the GridToExcelExport method and disable it after GridToExcelExport method. You can try the code:
I would like to keep the column header borders on all the time and not just for exporting into excel. What property of the databoundgrid do I need to modify in order to accomplish this? Thanks!