BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
After adding the sort by ranking option to eventsettings, events stop displaying.
<e-schedule-eventsettings dataSource="@ViewBag.datasource" sortComparer=sortComparer>
Net Core 2.2
.EJ2 20.4.38
Hi Lukasz,
We confirmed your reported problem “Schedule sortComparer not working” as a bug and logged the defect report. The fix for this defect will be included in our upcoming weekly patch release, which is expected to be rolled out by mid of January 2023. You can track the status of the fix at the following link:
Feedback : https://www.syncfusion.com/feedback/40245/schedule-sortcomparer-not-working
Disclaimer: Inclusion of this solution in the weekly release
may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Swathi Ravi
Lukasz, We couldn’t include the fix as promised due to the complexity of the issue, and it will be fixed in the patch release scheduled for the upcoming week. We will let you know once it is included.
Lukasz, The fix for the issue “Schedule sortComparer not working in ASP .NET Core” has been included in our SP release 20.4.48. Upgrade to the latest version to resolve the issue.
Hi Ravikumar,
Now it works propertly- thank you.
Please note, that localeCompare works only for string values, so if RankId is integere, we have to to converion:
return event1.RankId.toString().localeCompare(event2.RankId.toString());
If RankId is number we just need to do:
return args.sort(function (event1, event2) { event1.RankId - event2.RankId });
Lukasz,
You are welcome. Thanks for sharing the details.