Hello everyone,
I recently started using the RadScheduleView component. I started with the example provided by Telerik "TimeBar Minimap for ScheduleView". The RadScheduleView be used to display the interventions of our technicans. Our technicians have office hours (usually) between 7am to 20pm.
Our desire is to not display these hours to provide a better display of working hours. For this, we informed the DayStartTime and DayEndTime properties in TimelineViewDefintion.
This works well if we show one day as in the example (OneDay.png). On the timeline each MinorTick is 15 minutes.
By cons, if we show two consecutive days, the first day starts at 7am, the second day ends at 20pm but between the two days, all hours (even those outside of the desired range) are displayed. See TwoDays.png.
I marked in red on the image TwoDays.png parts that we do not want to see.
How do that the DayStartTime and DayEndTime properties will be used for every day when displaying several days?
Thank you for your help and sorry if my English is not great.
I recently started using the RadScheduleView component. I started with the example provided by Telerik "TimeBar Minimap for ScheduleView". The RadScheduleView be used to display the interventions of our technicans. Our technicians have office hours (usually) between 7am to 20pm.
Our desire is to not display these hours to provide a better display of working hours. For this, we informed the DayStartTime and DayEndTime properties in TimelineViewDefintion.
<
telerik:TimelineViewDefinition
ShowTimeRuler
=
"True"
TimerulerGroupStringFormat
=
"{}{0:dddd, dd/MM/yyyy}"
TimerulerMajorTickStringFormat
=
"{}{0:%H}"
TimerulerMinorTickStringFormat
=
":{0:%m}"
VisibleDays
=
"{Binding ElementName=TimeBar, Path=Selection, Converter={StaticResource VisibleDaysConverter}}"
StretchAppointments
=
"True"
StretchGroupHeaders
=
"True"
DayStartTime
=
"07:00"
DayEndTime
=
"20:00"
MajorTickLength
=
"1h"
MinorTickLength
=
"15min"
MinTimeRulerExtent
=
"50"
MaxTimeRulerExtent
=
"Infinity"
FirstDayOfWeek
=
"Monday"
/>
This works well if we show one day as in the example (OneDay.png). On the timeline each MinorTick is 15 minutes.
By cons, if we show two consecutive days, the first day starts at 7am, the second day ends at 20pm but between the two days, all hours (even those outside of the desired range) are displayed. See TwoDays.png.
I marked in red on the image TwoDays.png parts that we do not want to see.
How do that the DayStartTime and DayEndTime properties will be used for every day when displaying several days?
Thank you for your help and sorry if my English is not great.