RadLinearSparkline randomly moving markers after scrolling in DataGrid

2 posts, 0 answers
  1. Chris
    Chris avatar
    2 posts
    Member since:
    Jan 2011

    Posted 05 Jul 2012 Link to this post


    I have a RadLinearSparkLine control within a DataGridTemplateColumn of my DataGrid. After I scroll, the markers on the RadLinearSparkline seem to jump around to random spots (please see attached screenshots). How do I prevent this from happening?

      <sdk:DataGridTemplateColumn Width="Auto" MinWidth="100" CanUserReorder="False" CanUserResize="True" CanUserSort="False">
                    <telerik:RadLinearSparkline MinWidth="90" Height="20" Margin="5,4"
                                                ItemsSource="{Binding Uptake}"
                                                ShowMarkers="True" LineStroke="{Binding UptakeBrush}"
                                                AutoRange="False" MinYValue="0">

    Kind regards,
  2. Yavor
    Yavor avatar
    401 posts

    Posted 09 Jul 2012 Link to this post

    Hi Chris,

    The problem you are observing is caused by the UI virtualization of the RadGridView. You can try turning off the GridView virtualization by setting EnableRowVirtualization to False. You can find more information in this topic in our help system.

    I will forward your report to our developers for further investigation. Meanwhile you can use the fix described above.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top