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

Customize RadScheduler Hours Column?

1 Answer 82 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Matthew Ceanfaglione
Top achievements
Rank 1
Matthew Ceanfaglione asked on 27 Nov 2012, 06:25 PM
I am currently attempting to use the RadScheduler component in a slightly different manner than is prescribed or given in all the examples i have seen. What i want to do is use the RadScheduler as a resource allocator for frequency instead of time. To do this, i need to customize the hours column to show whatever frequency values i am allocating instead of time. Is there any way to override the time being displayed and use custom text instead? I do not necessarily need the RadScheduler to handle integer values for frequency instead of time, i just need to be able modify the time displayed.

Thanks & Regards,
Matt C

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 30 Nov 2012, 08:55 AM
Hello Matt,

 
One way to achieve this is with the properties that are explained in the Hours section of our customization demo. If it is not enough for your scenario you can use jQuery to get each element in the hours column and change it as you want:

  function pageLoad() {
 
                $telerik.$(".rsVerticalHeaderTable th div").each(function(index, elem){
                    alert(elem.textContent.trim());
 
                });
}

Hope this will be helpful.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Matthew Ceanfaglione
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or