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

RadGrid Group

2 Answers 185 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tofan
Top achievements
Rank 1
Tofan asked on 21 Feb 2014, 02:17 PM
I have a radgrid that the user can group by collumns. He can also collapse one, or multiple groups. When exporting to pdf is it possible not to display the rows that were part of the collapsed groups? If it is possible can I get an example ,demo, or hint to make this work,please?
Thank you for you help.

2 Answers, 1 is accepted

Sort by
0
Tofan
Top achievements
Rank 1
answered on 24 Feb 2014, 08:18 AM
Is this possible?
0
Viktor Tachev
Telerik team
answered on 26 Feb 2014, 08:52 AM
Hi,

The functionality you describe is available in RadGrid. In order to enable grouping you need to set the GroupingEnabled property to true. Additionally you could display a grouping panel and enable grouping by dragging the columns by enabling the ShowGroupPanel and ClientSettings-AllowDragToGroup properties respectively. If you would like additional information on grouping in RadGrid it is available in this article.

Exporting is also available out of the box for RadGrid. You could adjust different settings for the export feature with the ExportSettings of the RadGrid. An illustration on how this could be setup is available in this article.

In order to export only the visible items on the page you could set the ExportSettings-IgnorePaging property to false. This way if a group is collapsed the items in it would not be exported.

Additionally there are online demos illustrating the grouping and exporting functionalities for RadGrid.

RadGrid grouping
RadGrid export to PDF demo

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Tofan
Top achievements
Rank 1
Answers by
Tofan
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or