i want to customise Scheduler's Ruler like Attached Image
can any one tell me set start time and end time
and
how to set gap between two time?
4 Answers, 1 is accepted
0
Hello Jay,
Thank you for writing.
The default scale of the ruler can be set with a single property (RangeFactor) to any of the predefined values, or the user can select a new scale by simply right-clicking in the time ruler and selecting the preferable setting. The start/end of the ruler can be controlled by the RulerStartScale and RulerEndScale properties. You can set the RangeFactor to 7 minutes as below but note that 60 minutes is not divisible by 7. Hence, the last cell within the hour will take more than 7 minutes. It is recommended to set the RangeFactor to an integer number where 60 is divisible by it.
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik by Progress
Thank you for writing.
The default scale of the ruler can be set with a single property (RangeFactor) to any of the predefined values, or the user can select a new scale by simply right-clicking in the time ruler and selecting the preferable setting. The start/end of the ruler can be controlled by the RulerStartScale and RulerEndScale properties. You can set the RangeFactor to 7 minutes as below but note that 60 minutes is not divisible by 7. Hence, the last cell within the hour will take more than 7 minutes. It is recommended to set the RangeFactor to an integer number where 60 is divisible by it.
public
RadForm1()
{
InitializeComponent();
this
.radScheduler1.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Day;
this
.radScheduler1.GetDayView().RangeFactor = (Telerik.WinControls.UI.ScaleRange)7;
this
.radScheduler1.GetDayView().RulerStartScale = 8;
RulerPrimitive ruler = (
this
.radScheduler1.SchedulerElement.ViewElement
as
SchedulerDayViewElement).DataAreaElement.Ruler;
ruler.FormatStrings =
new
RulerFormatStrings(
"HH"
,
"mm"
,
"hh"
,
"mm"
);
}
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
Jay
Top achievements
Rank 1
answered on 02 Nov 2016, 01:08 PM
Thanks for help
you save my day :D
if i have any query related this i will post it here.
thanks again
0
ghini
Top achievements
Rank 2
answered on 09 Feb 2018, 04:46 PM
Hi Dess,
I can not use your suggestion.
I use VB and Telerik V 2016.2.607.
Is it possible that the RangeFactor is not included in this version?
Thanks
0
Hi,
The RangeFactor property has been part of the scheduler ever since it was released, way before 2016. Please note that this thread is discussing the RadScheduler control for WinForms. If you are using a different product please post your questions in the proper forum. In case you are using WinForms and your issue persists please open a support ticket and send us your project so that we can test it locally.
Regards,
Hristo
Progress Telerik
The RangeFactor property has been part of the scheduler ever since it was released, way before 2016. Please note that this thread is discussing the RadScheduler control for WinForms. If you are using a different product please post your questions in the proper forum. In case you are using WinForms and your issue persists please open a support ticket and send us your project so that we can test it locally.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.