Display tooltip with event information for resource in agenda view

1 Answer 129 Views
Scheduler Templates
Vygantas
Top achievements
Rank 1
Vygantas asked on 27 Feb 2023, 10:41 AM

Hello,

I'm trying to implement a tooltip that shows how many and what kind of events the resource has for the day when hovering mouse cursor over resource. I was able to do this in day/week/month views by using a custom group header template but I'm having a hard time trying to implement it in agenda view because I'm not able to make a custom template for resource group header, only event date, event time and event custom templates are available as far as I'm aware. Basically what I need is the ability, when hovering over a resource, to know what resource and what date it is to get the relevant information.

Any help is greatly appreciated! Thank you!

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Mar 2023, 09:39 AM

Hello, Vyagnast,

Depending on how many resources you have in the Scheduler, one option would be to hardcode it. If you will group the Scheduler by more than one resource, then things get a bit more complicated. Here is a small example with a single resource grouping and today's date in the Tooltip.

Let me know if I am missing something important from your scenario.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vygantas
Top achievements
Rank 1
commented on 03 Mar 2023, 09:15 AM

Thank you for your response!

However, this isn't exactly what I'm trying to achieve. My scheduler column order is different, it's Date-Resource-Time-Event and I'm trying to get the date of the row, not todays date. I've attached a screenshot (scheduler2.png) that illustrates what my scheduler looks like. When I hover over the "Resource 1" (marked with red border) the date that I need to get is 9th of February 2023 since it's the date of the row.

Martin
Telerik team
commented on 08 Mar 2023, 07:55 AM

Hello, Vygantas, 

Please check this example to see if it meets your requirements. 

Tags
Scheduler Templates
Asked by
Vygantas
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or