Text overlap on scroling

2 posts, 1 answers
  1. Lakshman
    Lakshman avatar
    8 posts
    Member since:
    Dec 2016

    Posted 07 Feb Link to this post

    I am using RadGridView with editing capability. I am editing one item and then perform scroll down operation. At this point of time, the edit cell text is getting overlapped with other cell text.

    Please suggest me, how to avoid this.

  2. Answer
    Stefan avatar
    791 posts

    Posted 09 Feb Link to this post

    Hi Lakshman,

    Speaking in general, such behavior can be reproduced when the cells of RadGridView are accessed directly and their value is modified. Such approach is highly not recommended, as it interferes with the virtualization mechanism that the control provides. When the user scrolls, the cell containers are being reused, thus unpredictable results can be experienced. Such operations need to be performed on data level through data binding instead. More information can be found in the UI Virtualization topic. Are you using such an approach on your end, or I am missing something?

    In addition, you may find the Getting Started topic of RadGridView's online help useful.

    Hope this helps.

    Stefan X1
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top