kendo-scheduler

Kendo ui scheduler - change date format

十年热恋 提交于 2020-01-17 05:46:12
问题 I'm able to change the format of the dates for a kendo ui scheduler on the column headers using the dateHeaderTemplate property but I need to change the format of the date highlighted in the image below: I'm sure there must be a pretty simple way of doing this but haven't found anything in the telerik docs so far. 回答1: Please try with the below code snippet. <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://kendo.cdn

Kendo UI Scheduler: Custom view and edit behavior

落爺英雄遲暮 提交于 2020-01-04 06:24:01
问题 I've been looking into this for a few days now and searched the forums high and low. Both in stack overflow, as well as Telerik's own forums, to no avail. I'm using a Kendo UI scheduler component in an MVC application. Below is part of the index.cshtml that creates the scheduler. @(Html.Kendo().Scheduler<TaskViewModel>() .Name("scheduler") .Views(views => { views.CustomView("ThreeDayView"); }) .DataSource(d => d .Read("Read", "Home") .Create("Create", "Home") .Destroy("Destroy", "Home")

Kendo UI Scheduler: Custom view and edit behavior

扶醉桌前 提交于 2020-01-04 06:23:10
问题 I've been looking into this for a few days now and searched the forums high and low. Both in stack overflow, as well as Telerik's own forums, to no avail. I'm using a Kendo UI scheduler component in an MVC application. Below is part of the index.cshtml that creates the scheduler. @(Html.Kendo().Scheduler<TaskViewModel>() .Name("scheduler") .Views(views => { views.CustomView("ThreeDayView"); }) .DataSource(d => d .Read("Read", "Home") .Create("Create", "Home") .Destroy("Destroy", "Home")

Kendo scheduler resources paging

[亡魂溺海] 提交于 2019-12-29 08:15:09
问题 in kendo scheduler control am using group header template and would like to make a paging in my resources view http://dojo.telerik.com/IMUjA this example has 2 only resources if I would like to add 2 another resources I want to show only 2 resources per page and would like to have next/prev buttons to change resources viewed as paging in scheduler displaying 回答1: I want something such as the example I made in this link: dojo.telerik.com/uBigO/4 I would like to control my resources to view

Javascript local database binding of the Kendo UI Scheduler

送分小仙女□ 提交于 2019-12-26 03:10:10
问题 I'm looking for a way to connect my open source Kendo UI Scheduler to a local database using javascript. I've already started but got stuck because I can't find any helpful documentation on how to do this using javascript. $(function () { $('#scheduler').kendoScheduler({ views: [{type:"day", selected:true}], dataSource: { transport: { read: { url: "@Url.Action("GetTasks","Schedules")", dataType: "json" }, update: { url: "@Url.Action("UpdateTask","Schedules")", dataType: "json" }, create: {

Javascript local database binding of the Kendo UI Scheduler

本小妞迷上赌 提交于 2019-12-26 03:10:06
问题 I'm looking for a way to connect my open source Kendo UI Scheduler to a local database using javascript. I've already started but got stuck because I can't find any helpful documentation on how to do this using javascript. $(function () { $('#scheduler').kendoScheduler({ views: [{type:"day", selected:true}], dataSource: { transport: { read: { url: "@Url.Action("GetTasks","Schedules")", dataType: "json" }, update: { url: "@Url.Action("UpdateTask","Schedules")", dataType: "json" }, create: {

how to retrieve an instance of kendo scheduler in MVC and add a new property to this

筅森魡賤 提交于 2019-12-25 16:00:13
问题 i have used kendo scheduler like this @(Html.Kendo().Scheduler<myEntity>() .Name("scheduler") .Date(currentDateTime) //.Events(e => { e.Error("error_handler"); }) ); now i want to retrieve the same instance and add another property to it say Events as in .Events(e => { e.Error("error_handler"); }) dynamically. how can i do this 回答1: You can do it in JavaScript (only): var scheduler = $("#scheduler").data('kendoScheduler'); scheduler.bind("error", error_handler); If you wanna set not event

Unable to populate Kendo Scheduler with Data

孤人 提交于 2019-12-24 06:32:57
问题 First time using MVC and Kendo Scheduler and I can't get the data to show on the Calendar. I have the below Model public class Events : ISchedulerEvent { public int Id { get; set; } public string Description { get; set; } public DateTime End { get; set; } public string EndTimezone { get; set; } public bool IsAllDay { get; set; } public string RecurrenceException { get; set; } public string RecurrenceRule { get; set; } public DateTime Start { get; set; } public string StartTimezone { get; set;

How do I bind a DropDownList to a DataSource within an editor template using the scheduler?

谁说胖子不能爱 提交于 2019-12-24 02:17:09
问题 I'm trying to customize my use of the Kendo UI kendoScheduler widget. I'm specifying a custom template for the editable window that pops up when you go to add/edit an appointment in the scheduler, like so: editable: { template: $("#editor").html() }, I'm defining the template like this: <script id="editor" type="text/x-kendo-template"> <h3>Edit Appointment</h3> <p> <label>Patient: <input name="title" /></label> </p> <p> <label>Start: <input data-role="datetimepicker" name="start" /></label> <