jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › can i change start time in the day view of scheduler?
This topic contains 8 replies, has 3 voices, and was last updated by Hristo 5 years, 11 months ago.
-
Author
-
In the day view of scheduler can i change start time from 09:00 AM?
I have used scroll left that solved my issue.
Hello rajesh gupta,
You could change the
workTime
of one view.
Please, take a look at this demo:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-configure-work-hours.htm?light
I hope this will help.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi,
In the demo that you give here, can it be that the workTime doesn’t work? Because if you open the demo you see the time from 12 AM except of 7 like you put in the fromHour. I have a similar problem, do you know the cause of this?
Best Regards,
Fran AndriesHello Fran Andries,
Could you clarify your issue?
What exactly is your issue and what you want to achieve?Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comI would like that if you open the scheduler or timeline that it starts from the worktime. Now when I open it, it starts from midnight instead of 8.
We use a const for the start and end time:
const WORKING_START_HOUR = “8”;
const WORKING_END_HOUR = “18”;Then in the views we say what the fromHour and toHour is.
views: any[] = [
{ type: “dayView”,
text: “Day”,
workTime:{ fromDayOfWeek: 1, toDayOfWeek: 5, fromHour: WORKING_START_HOUR, toHour: WORKING_END_HOUR }
},
{ type: ‘weekView’,
text: “Week”,
workTime:{ fromDayOfWeek: 1, toDayOfWeek: 5, fromHour: WORKING_START_HOUR, toHour: WORKING_END_HOUR }
},
{ type: “monthView”, text: “Month” },
{ type: “agendaView”, text: “Agenda” }Hello Fran Andries,
Could you clarify it?
I tested this example and it seems to work fine.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comCan you give me an example of this but with the timelineview? I changed your example to the timelineview but it doesn’t start at the starthour. Or doesn’t this works with the timelineview?
Hello Fran Andries,
I tested this example and it seems to work fine.
Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.