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.
I am using GDBG in a hierarchical view.
I have 3 levels in my hierarchy. I need to provide two PRINT buttons on my form for printing.
First button should only print 1st and second level of information in a tree view.
Second button should print all 3 levels in a tree view.
I know how to do the second button but I can’t think of something where I can need to print information from certain levels only.
Please help me.
Thanks
ADAdministrator Syncfusion Team December 5, 2005 02:41 PM UTC
One way you can do this is to handle the grid.Model.QueryRowHeight event. There if you are printing, and if the row is in the level you want to hide, you can set the height to zero. Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/GDBG_PrintHierarchies_35b996f7.zip