Skip to content
DayPilot

EventSortExpression not quite working

Asked by Ed
1 hours ago.

Hi,

Not sure if a bug but have a asp.net webforms scheduler that has multiple events per row. I’m using EventSortExpression and have added a sort column to my db so that the events will sort in a specific manner. It…mostly works but I’ve got one event that, despite it having a “sort value” that should place the event below all the other events it ends up on top of the row. Another event with the same “sort value” correctly sits at the bottom of the row - see attached image.

It seems to get a little weirder; if I remove the offending event, the event that has the same “sort value” … the one that was playing nicely … moves to the top of the row into the same location where the event that I removed was sitting. I have confirmed that my sorting values are set correctly in the db column and I have the name of the column as the value in the aspx markup for EventSortExpression so I’m a little confused as to what is going on - any thoughts?

For reference in the attached image: the light blue events have a sorting value of 1, red events are a 3 (no 2’s in the example though they exist elsewhere), purple events are set to a value of 4, and the dark blue events (the problem children here…) are set to 7.

Thanks - Ed

No reply yet.

New Reply

This reply is
Attachments:
or drop files here