I would like to be able to customize the printing of a hierarchical GridView.
1) The only selected rows are to be included
2) Only two columns are required in the output
What is the best way to achieve this?
2 Answers, 1 is accepted
0
Accepted
Hristo
Telerik team
answered on 18 Aug 2015, 01:13 PM
Hi Greg,
Thank you for writing.
Printing only a selection of rows in RadGridView is currently not supported. Moreover, when there is hierarchical data with multiple rows selected at different levels it is not clear how you would like them to be displayed when printed.
You could, however, use the existing API and specify which views be printed. Detailed information is available in the following documentation article: Printing Hierarchical Grid.
As to your second question, I think that the best solution would be to hide the columns which you do not need and show them after the grid has been printed.
I hope this information helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo Merdjanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items