Customize RadScheduler Hours Column?

2 posts, 0 answers
  1. Matthew Ceanfaglione
    Matthew Ceanfaglione avatar
    1 posts
    Member since:
    Nov 2009

    Posted 27 Nov 2012 Link to this post

    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
  2. Plamen
    Admin
    Plamen avatar
    2958 posts

    Posted 30 Nov 2012 Link to this post

    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.
Back to Top