We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Help with Print

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

1 Reply

AD Administrator 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

Loader.
Live Chat Icon For mobile
Up arrow icon