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

Timeline view resource title

3 Answers 43 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
TypeA
Top achievements
Rank 1
TypeA asked on 07 Apr 2011, 11:05 PM
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,
 

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Apr 2011, 12:05 PM
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.

0
TypeA
Top achievements
Rank 1
answered on 12 Apr 2011, 04:54 PM
Peter,
I did a test according to your suggestion, it does not show the title.
Is there any other method I can try?
Thanks
0
Peter
Telerik team
answered on 18 Apr 2011, 09:38 AM

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.

Tags
Scheduler
Asked by
TypeA
Top achievements
Rank 1
Answers by
Peter
Telerik team
TypeA
Top achievements
Rank 1
Share this question
or