Home Unanswered Active Tags New Question

How to Enable week-numbers in Scheduler?

Hi,

I've been trying to figure out how to enable weeknumbers to be displayed in the java-scheduler.
As far as I can tell this is a feature of Daypilot?

Anyone have a clue?

I've tried "dps.showWeekNumbers = true;" in javascript, but that does not seem to do anything.

  • Erik
Asked by Erik 8 months ago.
Replies

The week number will be displayed in the first header row if you use

dps.cellGroupBy = 'Week';

You can always override the onBeforeTimeHeaderRender() to customize the header HTML:

		@Override
		public void onBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs ea) throws Exception {
			ea.setInnerHTML("Week " + Week.weekNrISO8601(ea.getStart()));
		}
Answer posted by Dan Letecky [DayPilot] 7 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java