kendo-scheduler

Kendo UI Scheduler disable multiple time-span/range of a single day

一曲冷凌霜 提交于 2019-12-23 19:11:21
问题 I have a scheduler which will be used by creators and consumers. Creators will define a specific time range (create an event) in where the consumers can interact. In the other time ranges of that day, consumers can not interact and will be disabled. I did managed to create the events without any problem, but showing the available slots for interaction is causing me problems. Example: Suppose, the creator defines the allowed time slot as 4:00 pm to 8:00 pm (which I successfully can save in

server filter kendoui scheduler and refresh

给你一囗甜甜゛ 提交于 2019-12-23 19:06:27
问题 It's possible set a filter based on start date and end date on kendoui scheduler? My problem is that I have about 25000 records to extract and it's impossible send all this data in json. So I want filter my server request. and refresh data every click on change date. thanks. 回答1: I had the same problem and resolve with this example: http://www.kendoui.com/code-library/web/web/scheduler/kendoui-scheduler-server-filtering.aspx I hope this help you. 来源: https://stackoverflow.com/questions

Setting first day of week to Monday in kendo scheduler

混江龙づ霸主 提交于 2019-12-23 10:01:13
问题 I want to set first day of week to monday instead of sunday in kendo scheduler It is working fine for me if i am using DatePicker, but not for Scheduler. 回答1: Can be made possible with one line of code. Add kendo.culture().calendar.firstDay = 1; before kendo scheduler declaration $("#yourID").kendoScheduler({... }) Found the solution here and worked for me. Kendo culture setting 回答2: As of Kendo UI v2015.2.805, you need to set the calendar.firstDay property of the current Kendo culture.

Issue with serializing data using JSON.Net

冷暖自知 提交于 2019-12-20 04:08:02
问题 I am using a Kendo Scheduler in my app to pull data from my database using a Web Api. I created a Web Api function and just hard coded some data in there to be sure the Kendo Scheduler could read my data. Here is my code for the Api function: [Route("api/v1/Events/GetPersonalEvents", Name = "ApiEventsGetPersonalEvents")] [HttpGet] public DataSourceResult GetPersonalEvents([System.Web.Http.ModelBinding.ModelBinder(typeof(WebApiDataSourceRequestModelBinder))]DataSourceRequest request) { var q =

Handle destroy event in kendo scheduler

强颜欢笑 提交于 2019-12-12 10:45:52
问题 I am using a kendo scheduler. There are events added in scheduler grid. On mouse hover of each event a small (x) comes on top right corner. i.e destroy event for that event, which when clicked shows an warning message "Are you sure you want to delete this event?" If clicked Yes it goes ahead and deletes that event. So here is my requirement. As you can see above there are 3 scheduled events in the shown week. I want that, the one circled in blue shouldn't have delete option but the one

Kendo-schedule setting weekstart to monday and setting culture

牧云@^-^@ 提交于 2019-12-12 03:15:44
问题 I am evaluating kendo-ui and i would like to configure the views views: [{type: "week", ...}, { type: "workweek", ...}, { type: "month", ...}] of kendo-ui scheduler to always start with monday. I found Q: Setting first day of week to Monday but is has no accepted answers and offered solutions did not work for me. Trying to set workWeekStart So after trying several things out i ended up with: $("#scheduler2").kendoScheduler({ date: new Date("2014/12/1"), allDayEventTemplate: $("#event-template

.NET Kendo Scheduler: dynamically change datasource resources

戏子无情 提交于 2019-12-12 02:48:32
问题 Now i'm using a datasource like this: (with the parameters to filter hard coded) $(function () { $("#scheduler").kendoScheduler({ date: new Date(Date.now()), startTime: new Date(2013, 5, 13, 9, 0, 0, 0), height: 800, timezone: "Etc/UTC", group: { resources: ["Rooms"] }, resources: [ { name:"Rooms", title: "Room", field: "RoomID", dataSource: { transport: { read: { url: "@Html.Raw(Url.Action("Filter_Rooms", "Room", new{ pPar1= true, pPar2 = false, pPar3 = true, }))", dataType: "json" } } } }

Kendo UI :- Kendo Scheduler disable time slots of a single day view, other than saved event in a day

半腔热情 提交于 2019-12-11 03:32:13
问题 My question also similarly same to this Question which some one already asked in stack-overflow forum.I am doing a customization of a kendo scheduler based on our requirement,what i am trying to do is creating a scheduler which will be used by some admin and visible to get info to the normal users. Admin will scheduled an event for the particular day for particular time period, the user can able to see the scheduled events but he can't allowed to create a another event in that day. Now what

Is there a way to disable a specific event in kendo ui scheduler?

左心房为你撑大大i 提交于 2019-12-11 03:12:15
问题 I am working with Kendo UI, js and the scheduler component. My question is, if there is a way to disable a specific event from scheduler. I find this, but this disables all events in scheduler. I want to disable just a specific event. The code should be something like this> function disableEvents() { var data = $("#scheduler").data("kendoScheduler").dataSource.data(); data.forEach(function(event){ if(event.ID='2') { event.disable = true; //I have tried with event.editable = true; } }); } I

Change editRecurringMode dynamically on editable template in kendo scheduler

帅比萌擦擦* 提交于 2019-12-08 13:43:26
问题 I want to skip the Edit Recurring dialog(which content options for "edit series" and "Edit occurrence" ) in KendoUI Scheduler while editing the past recurring events, and in other cases the Edit Recurring dialog should not be skipped. example code: editable: function(e) { if(e.conditionisTrue) { editRecurringMode: "dialog" } else { editRecurringMode: "occurrence", }, template: kendo.template($("#myCustomEditorTemplate").html()) } Instead of: editable: { editRecurringMode: "dialog", template: