Browse Source
Fix datagrid performance on attached to tree (#16140)
see #16139
Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/16265/head
DmitryK
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls.DataGrid/DataGrid.cs
|
|
|
@ -2140,7 +2140,7 @@ namespace Avalonia.Controls |
|
|
|
if (DataConnection.DataSource != null && !DataConnection.EventsWired) |
|
|
|
{ |
|
|
|
DataConnection.WireEvents(DataConnection.DataSource); |
|
|
|
InitializeElements(false /*recycleRows*/); |
|
|
|
InitializeElements(true /*recycleRows*/); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|