GridView row virtualization mode

2 posts, 0 answers
  1. Mark
    Mark avatar
    1 posts
    Member since:
    Mar 2012

    Posted 21 Oct 2015 Link to this post

    How can I set the GridView's row virtualization from recycling to standard? I'm running into an issue where cells are being recycled without having their converters called, which leads to incorrect templates being used.
  2. Petya
    Petya avatar
    983 posts

    Posted 26 Oct 2015 Link to this post

    Hi Mark,

    We usually advise against disabling the row virtualization in RadGridView, especially if you're planning on using the control with a big amount of data.

    That said, I'm not sure I understand your scenario completely, but RadGridView exposes the option to apply different data templates on cells using a CellTemplateSelector without interference with the virtualization. In case this is something that might fulfill your requirements, please go through the respective article here.

    If you still decide to disable the recycling, you can achieve it by setting the EnableRowVirtualization property to false.

    I hope this is helpful.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top