search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Sorting the Column Headers in Javascript

Asked by Anonymous
4 years ago.

Hi,

7 months ago it was mentioned that a tutorial on sorting the column headers in Javascript would be available. (https://forums.daypilot.org/question/4464/scheduler-with-sortable-columns-for-javascript)

Is this feature possible yet with the Javascript version or is ASP.NET only?

If not, any roadmap for when it might make it into the JS version?

Thanks.

Comment posted by Dan Letecky [DayPilot]
4 years ago.

At this moment, the sorting can be performed manually by rearranging the items in the resources array (https://api.daypilot.org/daypilot-scheduler-resources/). This will work well for simple scenarios but the row header column data uses a legacy structure that can't support an elegant easily-configurable universal solution.

Instead of publishing a sample based on workarounds we decided to redo the column API in a way that would allow easier configuration. It's in the works now and it should be available soon.

Answer posted by Dan Letecky [DayPilot]
4 years ago.

The new implementation is now available. Please see the following tutorial that shows how to sort the Scheduler rows by column data:

https://code.daypilot.org/78411/javascript-scheduler-row-sorting-tutorial

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.