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

Double click appointment from agenda view

6 Answers 150 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 05 Mar 2015, 11:13 AM
If you double click an appointment from the month view it opens the appointment in a pop up window.

If you try to do the same thing in the agenda view nothing happens.


http://demos.telerik.com/kendo-ui/scheduler/index

Is there a way to make the agenda view allow double clicking in the same way as the month view?

6 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 06 Mar 2015, 11:33 AM
Hi Andy,

By design it is not supported scenario but you can add a eventTemplate button that can provide such possibility for update as done here- http://dojo.telerik.com/@zdravkov/AleZu.

You can also hook on the subject container element as it is node here- http://dojo.telerik.com/@zdravkov/eZEse/3

Hope this will help you solve the issue.

Regards,
Plamen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Andy
Top achievements
Rank 1
answered on 25 Mar 2015, 09:12 AM
Thanks Plamen.

Your examples got me most of the way there, but I used a table row selector so that double clicking anywhere in the agenda item loaded the event editor.

       
var scheduler = $("#scheduler").data("kendoScheduler");
$("#scheduler").on("dblclick", "tr[role='row']", function () {
    var taskItem = jQuery(".k-task", this);
    var dataItem = scheduler.occurrenceByUid($(taskItem).data("uid"));
    scheduler.editEvent(dataItem);
});
0
Joshua
Top achievements
Rank 1
Veteran
Iron
answered on 31 Jan 2020, 08:29 PM
Is this still the case? Why would design it to be not clickable?
0
Nencho
Telerik team
answered on 04 Feb 2020, 12:16 PM

Hello, Joshua,

By design, the purpose of this view is to revise the already created schedule. The entire view is not editable and has no slots, unlike the other views, which are made with this purpose in mind. 

While the previous reply from my colleague described how to manually achieve editing in the Agenda view - I would suggest you log a feature request in our public feedback portal, containing your idea and a brief explanation of what you expect to have as a layout in that view:

https://www.telerik.com/support/feedback

Regards,
Nencho
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Joshua
Top achievements
Rank 1
Veteran
Iron
answered on 04 Feb 2020, 03:01 PM

From a design perspective that doesn't make sense. How are you going to revise an already created event, if you cannot open it for editing?

So we are clear, I have already update this in my usage of it. I am just trying to figure out why it would not have been included. I am going to just assume it was an oversight and that's ok.

0
Nencho
Telerik team
answered on 06 Feb 2020, 07:00 AM

Hello Joshua and thank you for the follow-up,

You can use eventTemplate, in order to show the needed content of the event, hence, make all of the needed information available. You just need to define it for the agenda view, and construct the layout, as demonstrated in the following documentation article:

https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler/configuration/views.eventtemplate

Regards,
Nencho
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Andy
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Andy
Top achievements
Rank 1
Joshua
Top achievements
Rank 1
Veteran
Iron
Nencho
Telerik team
Share this question
or