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.
Any idea how I can suppress the printing of a column? I have a push button column that is used to open another form for editing the underlying data source, but I don't want to render it when printing. Can this be done?
Regards,
Sean
ADAdministrator Syncfusion Team March 27, 2003 11:13 PM UTC
You can handle the QueryColWidth event, and if you are printing, return e.Size = 0 and e.Handled = true for this column (e.Index). To decide whether you are printing, you can add a Form level flag and set it before you start the print.
ADAdministrator Syncfusion Team March 28, 2003 09:46 AM UTC
To test whether the grid is printing or not, use the PrintingMode property. So, you do not have to set your own flag.