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

Customize Hour Column Label

1 Answer 37 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 2
Dave asked on 01 Jul 2015, 09:52 AM

Hello Telerik Community!

I am looking to customize the labels of time column. For instance, I would like to have radscheduler display "9h - 10h" instead of "09:00".
How could I potentially succeed into this?

Best,
David

1 Answer, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 06 Jul 2015, 07:27 AM
Hello Dave,

The desired scenario is not supported, however, it could be achieved using some custom jquery implementation. For example, you can acquire all divs with the date values, get the current value, increase it with one and change the html in the div accordingly.

You can use the following approach to get all divs with date for the DayView and then implement the aforementioned suggestion:

<script type="text/javascript">
            var $ = $telerik.$;
            function pageLoad() {
                var currValue = $($(".rsVerticalHeaderTable").find("div")[0]).html();
            }
        </script>


Regards,
Nencho
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Dave
Top achievements
Rank 2
Answers by
Nencho
Telerik team
Share this question
or