AvaloniaUI / Avalonia.Controls.TreeDataGrid

A combined TreeView/DataGrid for Avalonia.
MIT License
234 stars 49 forks source link

Fix star-sized columns collapsing #242

Closed Takoooooo closed 7 months ago

Takoooooo commented 7 months ago

When we create an initial TreeDataGridSource ColumnList is getting created. Then we get the Viewport from the EffectiveViewportChanged event and initialize the ColumnList. But when user re-creates the TreeDataGridSource ColumnList is getting recreated too but Viewport is not set for this ColumnList since EffectiveViewportChanged is not called because EffectiveViewPort remained the same, so we need to pass Viewport by ourselves.

Fixes #130 Closes #231