Hide Group Summary Rows (not Header rows)

1 Answer 77 Views
GridView
Gaurav
Top achievements
Rank 1
Gaurav asked on 11 Jul 2023, 05:36 AM

When grouping, each group shows two extra rows:

  1. Summary Top Row -> Same as Main Grid Summary Top Row
  2. Summary Bottom Row -> I believe it pick from Main Grid Summary Bottom Row.

 

We do not need this. Is there any way to hide these?

1 Answer, 1 is accepted

Sort by
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Jul 2023, 02:42 PM

Hi, Gaurav,

To show a total summary for all groups, you can use the ShowTotals template property. The totals are calculated for the child rows of all groups. You can control if the summary rows are top or bottom pinned even in grouped RadGridView.

As of the R1 2020 version, the template in RadGridView offers the ShowSubTotals property. Its value indicates whether summary rows will be shown for each group. The property is only relevant when the grid is grouped.

Additional information is available in the following article:

https://docs.telerik.com/devtools/winforms/controls/gridview/rows/summary-rows#summary-rows-in-a-grouped-radgridview 

I believe that these properties will be useful for covering the scenario you have.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Gaurav
Top achievements
Rank 1
commented on 13 Jul 2023, 05:05 AM

Hey @Dess, I think I was not clear enough with my question. 

I want to hide these extra rows. I tried with setting ShowTotal = false.

Similarly, I want to hide bottom extra row too.
Gaurav
Top achievements
Rank 1
commented on 13 Jul 2023, 05:32 AM

By the way, ShowSubTotal = false worked for me.

Thanks!!
Tags
GridView
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or