Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Show in the calendar appointments from the previous day (Read 4961 times)
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Show in the calendar appointments from the previous day
Mar 13th, 2017 at 9:12am
Print Post  
Hello,

Is it possible to show in the calendar appointment 6 hour from the previous day? So the calendar would show visible appointments from the previous day and the current day.
Code (Java)
Select All
 getTimetableSettings().setStartTime(Integer.valueOf(0)); 

with this I can only set the start time at 0, but  not from the previous day.

Thank you.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Show in the calendar appointments from the previous day
Reply #1 - Mar 13th, 2017 at 9:40am
Print Post  
Hi,

You can set the date of the Timetable view to the day previous to the one you want to show. Then use the following settings:

Code
Select All
calendar.getTimetableSettings().setStartTime(1080);
calendar.getTimetableSettings().setEndTime(2880); 

;
This code indicates that the view will display the time from 18:00 of the current day, to 24:00 to the following day.

Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Re: Show in the calendar appointments from the previous day
Reply #2 - Mar 13th, 2017 at 9:52am
Print Post  
Hello,

I want to show the time like this:
From 12.03.2017 time 18.00 until 14.03.2017 time 06.00 .
Is it possible?

Thank you.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Show in the calendar appointments from the previous day
Reply #3 - Mar 13th, 2017 at 1:09pm
Print Post  
Hi,

It is not possible to show more than two days in a single Timetable column. You need to add additional columns.

Regards,
Meppy
  
Back to top
 
IP Logged
 
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Re: Show in the calendar appointments from the previous day
Reply #4 - Mar 13th, 2017 at 2:02pm
Print Post  
Hello,

Thank you for your response.
But is it possible to show appointments from the previous day?
For example from 12.03.2017 time 22.00 until 13.03.2017 time 24.00.
So the goal would be to see also the appointments from yesterday.

Thank you.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Show in the calendar appointments from the previous day
Reply #5 - Mar 14th, 2017 at 8:27am
Print Post  
Hi,

You can show the appointments from two days using the code I posted above. For this particular case, add 12.03.2017 to TimetableSettings.Dates and use the following settings:

Code
Select All
calendar.getTimetableSettings().setStartTime(1320); // 22:00 PM
calendar.getTimetableSettings().setEndTime(2880); // 24:00 PM on the next day 


Regards,
Meppy
  
Back to top
 
IP Logged
 
AncaZ
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Feb 16th, 2017
Re: Show in the calendar appointments from the previous day
Reply #6 - Mar 14th, 2017 at 10:06am
Print Post  
It works. Thank you Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint