display days instead of hours

hi everyone,

i use the table booking system for spring mvc for the reservation of the tables.

Now in the X-axis i have hours but instead of them i want to display all the days of the mouth.

Can anyone help me !!!

Any help plz !!!

do you use JS Scheduler or it’s java port - JavaPlanner?
In any case, the month timeline requires some configuration on the client-side. Please check this sample,
docs.dhtmlx.com/scheduler/sample … scale.html
In sources, the related code starts from this line

scheduler.attachEvent("onBeforeViewChange", function(old_mode,old_date,mode,date){ and ends on that comment

// end timeline config

And the x_unit of the timeline should be set to ‘day’ mode

Thanks for your reply, i use the java planner.

i want to add the events in database. That’s what i am working on.

Thank you again.

i work actually with spring mvc, and i want to integrate this sample with it in order to insert events in database any help !!

in JavaPlanner you can use setXScaleUnit to make timeline go in days
And add a JavaScript configuration from my previous post.

i use the exemple of the table booking system. i have tried t change the x_unit by putting: view.setXScaleUnit(XScaleUnits.DAY); but it doesn’t change !!