This is a migrated thread and some comments may be shown as answers.

Time interval lines in Week view and Day view

1 Answer 77 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Srikanta
Top achievements
Rank 1
Srikanta asked on 17 Jun 2011, 07:30 AM
Hello,

I've  a probelm in my scheduleview control. By default the time ruler is showing as 30 mins in day and week view, I changed it to 15mins interval using below code.

SnapAppointments

 

 

="True"

 


and set

MinorTickLength

 

 

="15min"

 

 in day view as well as week view. It is working fine for me. But the client is expecting not to show the 15mins gap time ruler lines but internally it should work as 15 mins interval. Is there any way to disable the timeruler line ?

Note :- Just wanted to disable horizontal markers for :15 and :45 .

Attached a screen shot for your referance.


Thanks in advance.


Srikanta

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 20 Jun 2011, 02:45 PM
Hi Srikanta,

There are various properties you can use to customize the TimeRuler to fit best your requirements. You can use the TimeRulerItemStyleSelector property of the ScheduleView to customize the lines of the TimeRuler. You can find an example in this online demo. Also, you can use the TimerulerMajorTickStringFormat and TimerulerMinorTickStringFormat to set the format in which the time will be displayed. Also, you can use the MinTimeRulerExtent and MaxTimeRulerExtent to set the height of the TimeRuler. More information about these properties can be found here.
You can find more information about styling the TimeRuler in this help article.

Hope this information helps. Please let us know if you have further questions.

Kind regards,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Srikanta
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or