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

Cannot see data in Summary row of Grid View

2 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deepak
Top achievements
Rank 1
Deepak asked on 26 Dec 2017, 11:30 AM

Hello,

I added a count of rows in grid summary row. am able to see the added summary row but data is available in it.

 

// Add summary rows
 GridViewSummaryItem _summaryItem = new GridViewSummaryItem();
 _summaryItem.Name = "count";
 _summaryItem.FormatString = "Count = {0}";
 _summaryItem.Aggregate = GridAggregateFunction.Count;
 
 GridViewSummaryRowItem _summaryRowItem = new GridViewSummaryRowItem();
 _summaryRowItem.Add(_summaryItem);
 gridNew.SummaryRowsTop.Add(_summaryRowItem);

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Dec 2017, 01:10 PM
Hello, Deepak, 

Thank you for writing.  

In order to display data in the summary rows, it is important the GridViewSummaryItem.Name property to be identical with the name of the respective column in the grid. The following help article is quite useful on this topic: https://docs.telerik.com/devtools/winforms/gridview/rows/summary-rows

If you have any further questions or experience any difficulties feel free to submit a support ticket where Telerik support engineers will gladly assist you.

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Deepak
Top achievements
Rank 1
answered on 08 Jan 2018, 10:24 AM
Thank you Dess, it works.
Tags
GridView
Asked by
Deepak
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Deepak
Top achievements
Rank 1
Share this question
or