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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Help with Print

Thread ID:





38026 Dec 5,2005 07:12 AM UTC Dec 5,2005 02:41 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On December 5, 2005 07:12 AM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon