Timeline view resource title

4 posts, 0 answers
  1. TypeA
    TypeA avatar
    2 posts
    Member since:
    Apr 2006

    Posted 07 Apr 2011 Link to this post

    Hi,

    I am using RadScheduler timeline view.
    Please find an attached telerik demo screenshot. Is it possible to show a resource title in timeline view?

    Thanks,
     
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Apr 2011 Link to this post

    Hi Frank,

    Here is one possible solution:
    function pageLoad() {
                 var $ = $telerik.$;
                 var scheduler = $find('<%=RadScheduler1.ClientID %>');
                 $(".rsSpacerCell", scheduler.get_element()).text(scheduler.get_groupBy());
             }


    Regards,
    Peter
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. TypeA
    TypeA avatar
    2 posts
    Member since:
    Apr 2006

    Posted 12 Apr 2011 Link to this post

    Peter,
    I did a test according to your suggestion, it does not show the title.
    Is there any other method I can try?
    Thanks
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 18 Apr 2011 Link to this post


    What is your RadScheduler ID? You may have to update the following line of code accordingly -

    var scheduler = $find('<%=RadScheduler1.ClientID %>');

    You can also use a direct jQuery selector, but this will return all elements with rsSpacerCell -

    $(".rsSpacerCell").text(scheduler.get_groupBy());

    This may not be convenient if you use more than one RadScheduler on the page.


    Regards,
    Peter
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top