RadGrid sometimes shows phantom rows

4 posts, 0 answers
  1. Valerie
    Valerie avatar
    36 posts
    Member since:
    Nov 2011

    Posted 28 Jun 2013 Link to this post


    We are seeing a problem occasionally where, when switching the data displayed in the grid, some of the prior rows continue to display (see attached). These rows seem to just hang there since their location is not necessarily immediately following a valid row. Which is one way we know these are not actual rows that are part of our dataset. 

    One way to make this happen is to go into insert mode on a cell and then click elsewhere (in our case it is in a tree control) to make the grid reload with new data that has fewer rows than it originally had. The hard part of this is that I have not been able to reproduce this in a sample application. Our actual application's use of the grid is quite rich with features (virtualization, attached properties, non-auto generated columns, asynch dataloading) so it is not easy to bring all this over to a sample. I do have my sample using the above except for the attached properties.

    Has anyone seen anything like this? Any clues as to how to prevent? It doesn't just happen if you are in insert mode but that is a sure-fire way to make it happen. I've tried having the code call CancelEdit on the grid before it switches the data but that did not help.

    I've attached 2 screen shots. One shows the phantom rows without having been in insert mode prior to capturing this screen. The other shows the case when the user was in insert mode. You can see the phantom row showing the insert indicator on the left. I've drawn a red box around these phantom rows in these screen shots.

    Thank you, Valerie
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Jul 2013 Link to this post

    Hi,

    Thank you for the screenshots.

    So far we are not aware of such a problem with the GridView.

    Would you please set GroupRenderMode="Flat" for the GridVew. This new mode was introduced with version Q3 2012. You can check this help article for additional information on it.

    Let me know about the result.

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  3. Valerie
    Valerie avatar
    36 posts
    Member since:
    Nov 2011

    Posted 02 Jul 2013 Link to this post

    Yes, we already have GroupRenderMode="Flat" set.
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Jul 2013 Link to this post

    Hello,

    I am sorry to hear that this did not resolved the problem. Would you please also test with the latest internal build? If the problem still remains, may I ask you to isolate the issue in a sample project and send it to us? 

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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