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

How to do grouped columns correctly?

1 Answer 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 30 Oct 2018, 12:04 AM

Hello

I'm a newbie to Telerik RadGrid and have been struggling to find the correct code to have a group summary row with columns. I find examples where the summary rows have text on the group header, but no examples where the summary rows can have values in the columns? Is this even possible with the RadGrid. I have used other manufacturer's controls and this is possible, but can't find any example code where this is possible with Telerik.

Could someone please provide some basic sample code to achieve the group summary rows with columns as in the screenshot. A simple test project demonstrated this would be appreciated.

Thanks

Tim


1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 30 Oct 2018, 09:44 AM
Hello, Tim, 

Summary rows are RadGridView's rows which allow you to display information about the data in the control such as first item, last item, count of items, etc. The summary rows are top and bottom pinned rows. They can be used in a flat RadGridView or in groups and hierarchical views. Additional information and sample code snippets are available in the following help article: https://docs.telerik.com/devtools/winforms/gridview/rows/summary-rows Note that you can add a summary item for each column in the grid. Thus, the summary row will display the calculated values for each column.

You can also refer to our Demo application >> GridView >> Grouping >> Group Summaries example. 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. Regards,
Dess | Tech Support Engineer, Sr.
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.
Tags
GridView
Asked by
Tim
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or