When a TreeDataGrid uses a TemplateColumn with a binding to a Task that returns a string the display is flickering when the underlaying Collection has a reset event.
In comparison a DataGrid view does not show such an issue.
There is no flickering if the TreeDataGrid is noch bound to a Task.
I would expect no flickerung if there is no reason because of the actual execution time of the task. I would expect to get a similar visual experience that the DataGrid offers.
Describe the bug
When a
TreeDataGrid
uses aTemplateColumn
with a binding to aTask
that returns a string the display is flickering when the underlaying Collection has a reset event.In comparison a
DataGrid
view does not show such an issue.There is no flickering if the
TreeDataGrid
is noch bound to aTask
.To Reproduce
Please see atteched example. TreeDataGridFlickering.zip
Expected behavior
I would expect no flickerung if there is no reason because of the actual execution time of the task. I would expect to get a similar visual experience that the DataGrid offers.
Screenshots
https://github.com/AvaloniaUI/Avalonia/assets/125025268/5092fd32-9239-408a-a1f6-7407e7f34388
Environment