You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seem to stem from the fact that I'm adding the textboxes programmatically in the TagManagerUserControl UC. The column sorts correctly when using ItemsControl.
Why do you need to add controls programatically? I highly suggest you use DataTemplates. If not, add them at least in OnDataContextChanged override to ensure correct DataContext is available.
Describe the bug
I have a datagrid with templated columns, one of which being a user control.
That user control doesn't seem to properly sort with the rest of the line:
Sample project demonstrating the issue:
Avalonia.Samples-main - gridbug.zip
To Reproduce
From the sample project, fiddle a few time with the tag column header sorting.
Expected behavior
No response
Avalonia version
11.2.2
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: