[DevExpress Support Team: CLONED FROM Q503078: Flash updated cell]
Solution is very useful. But how to use in winform application. Please suggest. In our example Gridview cell value change when another thread change value in datatable by setting DevExpress.Data.CurrencyDataController.DisableThreadingProblemsDetection = true. But end user dose not know which value updated because cell don't flash in red or green color for small duration.
How to highlight a modified cell
Answers approved by DevExpress Support
Hello Sevak,
Updated
I've created a sample project to demonstrate how this can be done. The main idea of the suggested approach is to handle an event of the GridControl's data source to determine which value is going to be changed and save it in order to use the value in the GridView.RowCellStyle event handler to determine which color should be used to draw the cell's background. Please take a look at the RefreshHelper class. All required functionality is implemented in it.
Let me know if you have additional questions.
Thank you for the clarification.
I cannot convert this WPF project to a WinForms one because the WPF project contains some classes specific to the WPF technology.
However, I've created a sample project to demonstrate how to accomplish this task.
I've updated my answer accordingly. Please review it.
Thanks for your help. This solution is working with only one cell . When I remove row = GridControl.InvalidRowHandle; line then it was working for all cells. But not getting smooth color transition animation. But its working and can use this logic. Only my worry is when we have 6-7 child windows in mdi form and values are changing very rapidly then this logic should not create any performance problem.
I think there should be no problems if you place a separate RefreshHelper to each MDI form.
In any case, if you face any difficulties, you can contact us and we will help you overcome them.