Thread ID:

Created:

Updated:

Platform:

Replies:

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

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