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

Apply Grouping on radgrid silverlight with EnableRowVirtualization=true

5 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Webashlar
Top achievements
Rank 1
Webashlar asked on 25 Jun 2013, 07:30 AM
I am working on a silverlight application.
I am using radgrid control in that application. Now in my radgrid i have enable the EnableRowVirtualization to true.
And also enable the grouping functionality.
It works perfect in my application. Now when i apply group from ui i.e by drag and drop the collumn it not display the right data.
Instead of display all group it will just apply grouping on the current data visible in the grid and display that group only.
Now if you remove grouping and scroll down data it will get some more data. Then again apply grouping at this time it will display more group then  the earlier. 
So i want that when it apply grouping it will show all group with EnableRowVirtualization=true.
Here is my code.

<telerik:RadGridView x:Name="radgrid1" EnableRowVirtualization="True"
                             Grid.Row="2" AutoGenerateColumns="False" Grid.Column="1"
                             ItemsSource="{Binding Metadata}"
                             HorizontalAlignment="Stretch"
                             Margin="0, 0, 0, 2"
                             ShowGroupPanel="True"
                             IsReadOnly="True"
                             FontSize="9"
                             CanUserDeleteRows="False"
                             ShowGroupFooters="False"
                             ShowColumnFooters="False" IsFilteringAllowed="True"
                             ActionOnLostFocus="None"
                             DataLoaded="radgrid1_DataLoaded"
                             Grouping="radgrid1_Grouping"
                             Grouped="radgrid1_Grouped">

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 25 Jun 2013, 09:59 AM
Hello,

I am not able to reproduce such an issue on our online demos. Would you please set GroupRenderMode="Flat" for the RadGridView and let me know about the result?

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Webashlar
Top achievements
Rank 1
answered on 25 Jun 2013, 12:10 PM
I have already tried for GroupRenderMode="Flat" but it didn't work for me. Didie you are talking about online demo. Can you tell me in which demo this feature is added? Meance in which demo i can find that EnableRowVirtualization="True" and then we are going to apply group from ui side i.e by drag and drop the collumn?
0
Dimitrina
Telerik team
answered on 25 Jun 2013, 12:22 PM
Hello,

In all of our demos on Grouping, the EnableRowVirtualization is set to True by default. You can check the demos under section Grouping and Aggregates of the GridView's examples here.

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Webashlar
Top achievements
Rank 1
answered on 25 Jun 2013, 01:21 PM
I have checked but nowhere i found EnableRowVirtualization = true.
Ok I found one example here. Now in this example how can i apply grouping?
the way i am applying group is already there in my code. So where i am wrong? Or is there any other proprty is also need to set?
0
Dimitrina
Telerik team
answered on 28 Jun 2013, 03:33 PM
Hello,

You can group by a column dragging to the GridViewGroupPanel. In that particular demo the panel is hidden (ShowGroupPanel="False"). You can check our other demos, for example: here and here. You can also check our online documentation.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Webashlar
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Webashlar
Top achievements
Rank 1
Share this question
or