This is a migrated thread and some comments may be shown as answers.

Custom Printing Hierarchical Grid

2 Answers 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 17 Aug 2015, 03:34 PM

Hi,

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

Sort by
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
0
Greg
Top achievements
Rank 1
answered on 19 Aug 2015, 12:35 PM

I went with passing the selected rows to a pop up with a hidden non hierarchical grid with only the columns I required to be printed.

The RadGridView print options are very good when its simple.

 Thanks

 

Tags
GridView
Asked by
Greg
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Greg
Top achievements
Rank 1
Share this question
or