Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

Updating Source causes star-sized columns to collapse

Open SuperJMN opened this issue 3 years ago • 0 comments

I was trying to overcome this issue. To do so, I set a new Source every time the model changes, in order to force the TreeDataGrid to update its contents.

However, this has led me to another bug:

  • When TreeDataGrid.Source is set the 1st time, things go OK
  • but when you try set it afterwards, star-sized columns collapse.

https://user-images.githubusercontent.com/3109851/190614545-0eec8fed-8cb2-4a24-b153-aa8753d23f95.mp4

The code to reproduce this is really simple. You can reproduce it by cloning this repo

TreeDataGrid version: 0.10.10

SuperJMN avatar Sep 16 '22 10:09 SuperJMN