Hi Mike,
Thanks for sharing the details.
We have validated your query with the provided information. Yes, the fix the issue “
Using multiple GridForeignColumn with same Field name throws exception” mentioned in the incident
296148 was included in our Blazor Weekly patch release (v18.3.0.50).
In our end, while applying initial sorting for ForeignKeyColumn, the sorting action takes place based on ForeignKeyField value instead of ForeignKeyValue at our end.
For this(the sorting action takes place based on ForeignKeyField value instead of ForeignKeyValue), the fix for the issue “Sorting operation does not work properly for foreign key column” was postponed to our upcoming Volume 4 release, 2020.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
Also, in the provided sample you have provided a wrong value in initial sort settings. So the reported problem occurs. (You have provided EmployeID instead of EmployeeID). You can resolve the problem by changing the value as EmployeeID.
|
<GridSortSettings>
<GridSortColumns>
<GridSortColumn Field="EmployeID" Direction="SortDirection.Descending"></GridSortColumn> // you have provided wrong value(provided EmployeID instead of EmployeeID). You can resolve the problem by changing the value as EmployeeID
</GridSortColumns>
</GridSortSettings>
<GridColumns>
. . .
<GridForeignColumn Field=@nameof(Order.EmployeeID) HeaderText="Employee Name" ForeignKeyField="ID" ForeignKeyValue="FirstName" ForeignDataSource="@Employees" Width="150"></GridForeignColumn>
. . .
</GridColumns> |
Please let us know if you have any concerns.
Regards,
Rahul