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

RadGridView show ONLY the footer?

2 Answers 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 13 Dec 2018, 05:42 PM

I'm trying to create a RadGridView that initially shows only the footer row with all the aggregates properly calculated, then a button that allows all the rows to be displayed along with the footer.

Is there any way to show just the footer without showing all the data rows? Note that I don't want to use a filter because then the aggregates aren't calculated properly. I just want the view to initially show the aggregate values while giving the user the ability to hit a button to expand the grid to show all the detail rows used to calculate those aggregates.

Thank you!

2 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 18 Dec 2018, 09:46 AM
Hello Brian,

You can achieve what you are going for by collapsing the visibility of the ScrollContentPresenter inside the Grid named PART_RootPanel which is in the ControlTemplate of the RadGridView. Then on a button click, you can restore that visibility. I am attaching a sample project demonstrating this approach for your reference.

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Brian
Top achievements
Rank 1
answered on 18 Dec 2018, 05:51 PM
That works great! Thank you very much!!
Tags
GridView
Asked by
Brian
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Brian
Top achievements
Rank 1
Share this question
or