This is a migrated thread and some comments may be shown as answers.

RadGrid sometimes shows phantom rows

3 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Valerie
Top achievements
Rank 1
Valerie asked on 28 Jun 2013, 03:52 PM

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

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Jul 2013, 02:27 PM
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 >>
0
Valerie
Top achievements
Rank 1
answered on 02 Jul 2013, 11:38 PM
Yes, we already have GroupRenderMode="Flat" set.
0
Dimitrina
Telerik team
answered on 03 Jul 2013, 07:45 AM
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 >>
Tags
GridView
Asked by
Valerie
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Valerie
Top achievements
Rank 1
Share this question
or