ScrollMode=Deferred + Grouped By fails

11 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Nov 2010

    Posted 09 Mar 2011 Link to this post


    Yes, I copied and pasted the scrollmode demo code into my code and it almost worked!  Except I have the columns grouped by, when they are grouped by the deferred scrolling doesn't work in my application in that it does not scroll to the place you want.  When I remove grouped-by the deferred scrolling behaves as you would expect.
  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 11 Mar 2011 Link to this post

    Hello David,

    Thank you for your feedback!
    We are aware of this issue and it is in our ToDo list for one of our next releases. 

    Please excuse us for any inconvenience caused.
     
    Greetings,
    Yordanka
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 14 Mar 2011 Link to this post

    Hello David,

    We fixed the problem and the fix will be part of our upcoming Q1 2011 official release which is expected this week.
     
    All the best,
    Yordanka
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  4. Paul Grothe
    Paul Grothe avatar
    26 posts
    Member since:
    Apr 2010

    Posted 16 Aug 2011 Link to this post

    This is still broken! If I set the ScrollMode="Deferered" and have the grid grouped, it only retrieves the value to put in the template once and then quits. I even tried using a custom ScrollPositionIndicatorTemplate:
    <telerik:RadGridView.ScrollPositionIndicatorTemplate>
        <DataTemplate>
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <TextBlock>
                    <TextBlock.Text>
                        <Binding Path="Project_Orig.Client_ProjectID" StringFormat="Original Key ID: {0}" Mode="OneWay" />
                    </TextBlock.Text>
                </TextBlock>
            </Grid>
        </DataTemplate>
    </telerik:RadGridView.ScrollPositionIndicatorTemplate>
    It retrieves the bound path correctly once and then stops. I put a dummy converter on the binding and the Convert method gets called only once as I scroll up and down.
  5. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 22 Aug 2011 Link to this post

    Hi Paul Grothe,

    I tested the scenario with grouped grid and ScrollMode="Deferred" and everything works fine. Can you try the latest binaries and let me know if you still experience the problem? 
     
    All the best,
    Yordanka
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  6. Paul Grothe
    Paul Grothe avatar
    26 posts
    Member since:
    Apr 2010

    Posted 23 Aug 2011 Link to this post

    Yes, I'm on RadControls for WPF v.2011.2.712.35. See this video and you will see the behavior I'm talking about:
    Scrolling While Grouping
  7. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 23 Aug 2011 Link to this post

    Hello Paul Grothe,

    Thank you for the video. 
    It helps us to understand the issue you are reporting. However, this is expected behavior in grouped scenario. When the grid is not grouped the ScrollPositionIndicator content is the item itself. In the case with grouped grid - it is the group key.
     
    Kind regards,
    Yordanka
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  8. Paul Grothe
    Paul Grothe avatar
    26 posts
    Member since:
    Apr 2010

    Posted 23 Aug 2011 Link to this post

    But it's not showing the group key, the grid is grouped on status, I've got a ScrollPositionIndicatorTemplate defined which tells it to show the project id:
    <telerik:RadGridView.ScrollPositionIndicatorTemplate>
        <DataTemplate>
            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                <TextBlock>
                    <TextBlock.Text>
                        <Binding Path="Project_Orig.Client_ProjectID" StringFormat="Original Key ID: {0}" Mode="OneWay" />
                    </TextBlock.Text>
                </TextBlock>
            </Grid>
        </DataTemplate>
    </telerik:RadGridView.ScrollPositionIndicatorTemplate>
  9. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 26 Aug 2011 Link to this post

    Hello Paul Grothe,

    The ScrollPositionIndicator shows the OriginalKeyId because of the TextBlock binding. However, while the grid is grouped, the indicator content will be the OriginalKeyId of the first item for each group. You cannot expect scroll indicator content to change for each separate item in grouped scenario. That's why it seems that only one item from a group is scrolled. In grouped grid the ScrollPositionIndicator iterates the groups, not the items.

    Kind regards,
    Yordanka
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  10. Paul Grothe
    Paul Grothe avatar
    26 posts
    Member since:
    Apr 2010

    Posted 29 Aug 2011 Link to this post

    I think this is very counter intuitive that it doesn't show the items when grouped but does show the items when it's not grouped. The whole point of grouping is that you have a set of a few groups, each containing many items, to cleanly and quickly segregate the records. So there should always be a handful or two of groups each containing N records. When when we're scrolling down a large list of records, we aren't trying to find a group, we're trying to find a record.
  11. Jay
    Jay avatar
    6 posts
    Member since:
    Oct 2011

    Posted 13 Feb 2012 Link to this post

    Could you post an example of how to use the ScrollPositionIndicatorTemplate with grouping?  
Back to Top