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

Broken animated cells when trying filtered data fix

2 Answers 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
YBOT
Top achievements
Rank 1
Veteran
YBOT asked on 03 Jun 2020, 11:08 AM

I have followed the advice on this forum post below by adding and removing a dummy object in my collection.

https://www.telerik.com/forums/force-filtering-to-refresh-when-values-in-existing-rows-are-updated#wbilJhXXv02aibtG_c5tTQ

This will force a RadGrid to show data that meets the filters criteria after the filter has been applied.

Unfortunately this breaks my cell flashing user control, which relies upon FrameworkElement.IsLoaded being true but is always false when doing the suggested fix from the forum post.

This is because the user control now being instantiated in CreateCellElement on each update rather than being reused.

How can I send a sample project? You can see when you run the solution, if you filter on the InAuction column and set it to true, you will see the rows being added but no cell flashing for the StockPrice column.

How can I fix the issue?

2 Answers, 1 is accepted

Sort by
0
YBOT
Top achievements
Rank 1
Veteran
answered on 08 Jun 2020, 09:11 AM
Any ideas on this? Can I send my sample project?
0
Martin Ivanov
Telerik team
answered on 08 Jun 2020, 09:14 AM

Hello Toby,

The forums allow to attach only pictures. If you want to upload a .zip with a project, I would recommend you to use the support ticketing system from your telerik.com account. This will allow you to open a new support ticket and attach a project.

About the filtering, regardless of the approach used to refresh the filtering, the cells will get refresh and probably you won't be able to rely on the IsLoaded property. I guess that for this situation you will need to consider an alternative approach that replaces the IsLoaded property.

Regards,
Martin Ivanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
GridView
Asked by
YBOT
Top achievements
Rank 1
Veteran
Answers by
YBOT
Top achievements
Rank 1
Veteran
Martin Ivanov
Telerik team
Share this question
or