Kendo Scheduler | Need to set html content as data to datasource

1 Answer 53 Views
Scheduler
Varinder
Top achievements
Rank 1
Varinder asked on 08 Jun 2023, 12:31 PM

Hi Team,

I have a requirement in Kendo Scheduler. I want to make some text bold in appointments displayed in the scheduler. Please refer highlighted area in the screenshot below. I tried to set datasource using HTML tags for that particular text but it is showing HTML as it is , because it is not appending HTML tag using append function of jquery.

Please help!

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 13 Jun 2023, 05:45 AM

Hello Varinder,

I have just replied in the other thread regarding the same issue. For convenience please find my reply pasted below. I will suggest keeping the conversation in a single thread. 

When you need to display values as HTML you need to use the (#=#) syntax. You can read more in the article regarding Templates linked below:

- https://docs.telerik.com/kendo-ui/framework/templates/essentials

  <p>#: title#</p>

And linked here you will find the modified Dojo. 

Regards,
Neli
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Tags
Scheduler
Asked by
Varinder
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or