Browse Source
Fix datagrid not updating when not attached to tree
see #9527
pull/12009/head
Julian
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/Avalonia.Controls.DataGrid/DataGrid.cs
|
|
|
@ -2101,6 +2101,7 @@ namespace Avalonia.Controls |
|
|
|
if (DataConnection.DataSource != null && !DataConnection.EventsWired) |
|
|
|
{ |
|
|
|
DataConnection.WireEvents(DataConnection.DataSource); |
|
|
|
InitializeElements(false /*recycleRows*/); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|