Use of table cells under resource values

2 posts, 0 answers
  1. Stepan
    Stepan avatar
    29 posts
    Member since:
    Mar 2011

    Posted 17 May 2011 Link to this post

    Dear Telerik,

    I've got three questions concerning RadScheduler. Please, help me with them...

    I'm using RadScheduler and show resource values as column names (default behaviour).

    I see that there exist empty cells under each cell with resource value (see screen-shot, there I marked one of such cells in yellow)

    1) Can I put something in these cells? For example I may need to show not only resource values but some additional attributes of the same resource. These cells would be a perfect place for them.

    2) Can I format the text shown as column header (align text, show in bold...)?

    3) Can I show more than one property of the same resource in the column header?

    Thank you very much!

    - Stepan.
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 20 May 2011 Link to this post

    Hello Stepan,

    1) Please note that the place under the resource headers is for the all-day appointments. So you can not put custom information there. As an alternative you can put the additional information in the resource header cell under the header:

    function pageLoad() {
               var $ = $telerik.$;
               var scheduler = $find('<%=RadScheduler1.ClientID %>');
               $(".rsHorizontalHeaderTable tr th", scheduler.get_element()).append("custom content here");
           }



    2) You can use the .css() selector in jQuery to change bold the resource headers or apply any other style needed:

    $(".rsHorizontalHeaderTable tr th div", scheduler.get_element()).css("font-weight", "bold");

    3) I am not sure what you mean in "show more than one property of the same resource in the column header". Could you please explain in details the requirement?

    Feel free to ask me if you have further questions. 

    All the best,
    Veronica Milcheva
    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