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

[Solved] Group Aggregates on Wide Grids

3 Answers 112 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 11 Aug 2009, 04:50 PM
I have a grid that is rather wide and requires a scrollbar.  I've added an aggregate descriptor for groups to display the count but I am not able to see it until I shrink all of the columns down.  Scrolling doesn't help.  Basically the group header is "frozen" and the aggregate (count) is aligned to the right and off the screen.  Is there a way to control the position of the aggregate in a group row?

3 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 13 Aug 2009, 07:04 AM
Hello John,

Currently your only option is to edit the template of the group row and change the alignment of the AggregateResultList. With SP1 for Q2 we are allowing horizontal scrolling of the aggregate results. There is more to come for Q3 since we are getting lots of requests for improvement in this area.
 
I am also attaching a small sample which aligns the aggregates to the left. I hope this will do the job until we release the aforementioned improvements.

Kind regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
sandy pochiraju
Top achievements
Rank 1
answered on 09 Sep 2009, 12:03 AM
hi Kalin,

i have similar issue, i am trying to get row count when user groups by any of the grid columns.
however, we assign datasource in xaml.cs file rather than in the xaml file.
currently, the counts are displayed on the right side of the grid. so users have to scroll through the grid to look at the counts.
Please can you let me know how to change the alignment from xaml.cs file.
if thats not possible, which part of xaml file in the attached soln should be used to change the alignment.

regards,
Sandhya
0
Kalin Milanov
Telerik team
answered on 10 Sep 2009, 10:04 AM
Hello Sandy,

It should not matter whether you set the ItemsSource in C# or in XAML and the case of aggregate placement is no exception. We have received a lot of customer feedback regarding the placement of aggregates on the right side so we reverted that in our Q2SP1 release. Updating to that version should resolve your problem.

If for some reason updating the binaries is not a viable option for you locate AggregatesResultList and align it to your convenience.

Sincerely yours,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
John
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
sandy pochiraju
Top achievements
Rank 1
Share this question
or