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

Use of table cells under resource values

1 Answer 44 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Stepan
Top achievements
Rank 1
Stepan asked on 17 May 2011, 11:16 AM
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.

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 20 May 2011, 09:40 AM
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.

Tags
Scheduler
Asked by
Stepan
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or