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

Pinned Summary Row when grouping

1 Answer 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shaun
Top achievements
Rank 1
Shaun asked on 22 Apr 2014, 01:01 AM
Hi,

I'm using a Grid with a summary row that I pin to the bottom:

myGrid.MasterView.SummaryRows[0].PinPosition = PinnedRowPostion.Bottom;

Which works great, but when I group on a column at runtime the summary row is no longer pinned.

Is this possible?

Thanks

Shaun.





1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 24 Apr 2014, 08:49 AM
Hi Shaun,

Thank you for contacting us.

When you have SummaryRows‚Äč and you group, they stay pinned at the bottoms of the rows in each group since they need a context of data rows, as you can see in the attached image. Also I have added the rows as follows:
this.Grid.SummaryRowsBottom.Add(new GridViewSummaryRowItem());
this.Grid.SummaryRowsTop.Add(new GridViewSummaryRowItem());

You can read more about summary rows here.

Let me know if you have further questions.

Regards,
George
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Shaun
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or