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
In WPF I am able to assign an instance within an array to the DataGridTemplateColumn.SortMemberPath, however, in Avalonia this does not work. The sample code causes the sort arrow to no longer display and sorting to be ignored:
var clm = new DataGridTemplateColumn()
{
Header = name,
SortMemberPath = $"{nameof(MyCoreClass.Values)}[{i}]",
CellTemplate = template,
};
I have attached a sample program that exposes the bug.
Describe the bug
In WPF I am able to assign an instance within an array to the DataGridTemplateColumn.SortMemberPath, however, in Avalonia this does not work. The sample code causes the sort arrow to no longer display and sorting to be ignored:
I have attached a sample program that exposes the bug.
SortMemberPathBug.zip
To Reproduce
Run the sample program. Click on each of the 4 column headers. Notice the first three do not sort, however the last hard coded column sorts.
Expected behavior
The SortMemberPath should correctly sort the rows.
Avalonia version
11.1.0
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: