How to replace "href='#'" with my hyperlink on date in kendomultiviewcalendar?

1 Answer 21 Views
MultiViewCalendar
Quan
Top achievements
Rank 1
Quan asked on 05 Feb 2024, 01:21 PM

Dear developer:

I made  a calendar to user with kendoMultiViewCalendar , but I didn't know how to append a hyperlink to each date. 

Each gridcell HTML was looked like:

<td role='gridcell' class>

<a tabindex="-1" class="k-link" href="#" data-vale="2024/0/18"> 18</a>

</td>

I tried to use template to do it, but found out that I only could make some style on the "data.value", was not able to change the attribute "href" of the up node "a" .

Could anyone help me with that?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Feb 2024, 09:51 AM

Hello, Quan,

A possible approach I can think of is to select the .k-link elements and iterate them to change their href attribute. Currently there is no built-in approach to change it.

Let me know if that would work for you.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
MultiViewCalendar
Asked by
Quan
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or