Cannot see data in Summary row of Grid View

3 posts, 0 answers
  1. Deepak
    Deepak avatar
    27 posts
    Member since:
    May 2016

    Posted 26 Dec 2017 Link to this post

    Hello,

    I added a count of rows in grid summary row. i 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. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    2953 posts

    Posted 26 Dec 2017 Link to this post

    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.
  3. Deepak
    Deepak avatar
    27 posts
    Member since:
    May 2016

    Posted 08 Jan in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Thank you Dess, it works.
Back to Top