Apply Grouping on radgrid silverlight with EnableRowVirtualization=true

6 posts, 0 answers
  1. Webashlar
    Webashlar avatar
    3 posts
    Member since:
    Jun 2013

    Posted 25 Jun 2013 Link to this post

    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">

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 25 Jun 2013 Link to this post

    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.

  3. Webashlar
    Webashlar avatar
    3 posts
    Member since:
    Jun 2013

    Posted 25 Jun 2013 Link to this post

    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?
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 25 Jun 2013 Link to this post

    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.

  5. Webashlar
    Webashlar avatar
    3 posts
    Member since:
    Jun 2013

    Posted 25 Jun 2013 Link to this post

    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?
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 28 Jun 2013 Link to this post

    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 >>
Back to Top