Dear sir,
is it possible to add some extra field to scheduler which i need to inserted in the database
i.e
taskId
title
start
end
startTimezone
endTimezone
description
recurrenceId
recurrenceRule
recurrenceException
ownerId
isAllDay
other than above fields
i need to insert
Attendies,
Type,
Deadline/Duration,
Priority,
Label As
etc
is it possible to insert it to database via scheduler and as well as i need to edit those fields in scheduler
and how to insert those datas and save to DB and how to edit those datas
please give me the sample for above thread
thanks & regards
-santhosh
is it possible to add some extra field to scheduler which i need to inserted in the database
i.e
taskId
title
start
end
startTimezone
endTimezone
description
recurrenceId
recurrenceRule
recurrenceException
ownerId
isAllDay
other than above fields
i need to insert
Attendies,
Type,
Deadline/Duration,
Priority,
Label As
etc
is it possible to insert it to database via scheduler and as well as i need to edit those fields in scheduler
and how to insert those datas and save to DB and how to edit those datas
please give me the sample for above thread
thanks & regards
-santhosh
8 Answers, 1 is accepted
0
Entilzha
Top achievements
Rank 2
answered on 21 Sep 2013, 08:47 PM
I am new to the scheduler as well but I am pretty sure all you need to do is add those fields to the "schema" definition. If any of your new fields are of type type: "date" or type: "boolean" then add that, too. If you define those fields in the schema and populate the fields in your javascript code then the values should be sent back to the server for you. Again, I am new to this so I would hope someone will correct me if I am wrong. But there doesn't seem to be a lot of people around this weekend so I thought I would at least try to point you in the direction that might help you.
schema: {
model: {
id: "taskId", // The "id" of the event is the "taskId" field
fields: {
taskId: {from: "TaskID", type: "number"},
title: {from: "Title",defaultValue: "No title",validation: { required: true }},
start: { type: "date", from: "Start" },
end: { type: "date", from: "End" },
startTimezone: { from: "StartTimezone" },
endTimezone: { from: "EndTimezone" },
description: { from: "Description" },
recurrenceId: { from: "RecurrenceID" },
recurrenceRule: { from: "RecurrenceRule" },
recurrenceException: { from: "RecurrenceException" },
ownerId: { from: "OwnerID", defaultValue: 1 },
isAllDay: { type: "boolean", from: "IsAllDay" },
attendies: { from: "Attendies" },
type: { from: "Type" },
deadline: { from: "Deadline" },
priority: { from: "Priority" },
labelAs: { from: "LabelAs" }
}
}
0
santhosh
Top achievements
Rank 1
answered on 23 Sep 2013, 04:01 AM
dear Entilza,
thanks for your reply
and i'd already add the schema fields but in the pop up window i.e in new or in edit
how to add above fields in pop up window and how to save to my DB
and i'v another 2 doubts
1) is it possible to add the task in separate div
i.e the scheduler will hide and the new div will show instead of popup
2) and how to add the task and edit those task in that separate div if we chick the scheduler instead of popup window
any one please clarify my doubt
thanks & regards
-santhosh
thanks for your reply
and i'd already add the schema fields but in the pop up window i.e in new or in edit
how to add above fields in pop up window and how to save to my DB
and i'v another 2 doubts
1) is it possible to add the task in separate div
i.e the scheduler will hide and the new div will show instead of popup
2) and how to add the task and edit those task in that separate div if we chick the scheduler instead of popup window
any one please clarify my doubt
thanks & regards
-santhosh
0
Hi Santhosh,
Basically Entilza suggestion is correct - you should add these field to the schema, however in order to edit these fields you should implement custom editor template (you can check this example of defining custom editor template).
Also about your last questions for editing fields outside the PopUp editor - currently this functionality is not supported out of the box and you should implement custom solution.
Regards,
Vladimir Iliev
Telerik
Basically Entilza suggestion is correct - you should add these field to the schema, however in order to edit these fields you should implement custom editor template (you can check this example of defining custom editor template).
Also about your last questions for editing fields outside the PopUp editor - currently this functionality is not supported out of the box and you should implement custom solution.
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 27 Sep 2013, 01:21 PM
Hello!
I'm looking for the same kind of funcionality (adding extra fields). The problem with the "editor template solution" for us is that we want to keep e.g. the recurring event functionality, and we are simply unable to recreate that kind of complex UI in a custom template...
Wouldn't it be possible to somehow add fields to the default editor? That would be the ideal solution... if we could just EXTEND the editor with custom fields, rather than having to replace the whole thing with our own template.
Best regards,
Gunnar
I'm looking for the same kind of funcionality (adding extra fields). The problem with the "editor template solution" for us is that we want to keep e.g. the recurring event functionality, and we are simply unable to recreate that kind of complex UI in a custom template...
Wouldn't it be possible to somehow add fields to the default editor? That would be the ideal solution... if we could just EXTEND the editor with custom fields, rather than having to replace the whole thing with our own template.
Best regards,
Gunnar
0
Hi Gunnar,
Kind Regards,
Vladimir Iliev
Telerik
For convenience I created small example of creating scheduler editor template that contains the KendoUI "recurrence" editor:
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
gunnisen
Top achievements
Rank 1
answered on 01 Oct 2013, 10:57 AM
Thanks, Vladimir! That could be a good starting point for us.
Best regards,
Gunnar
0
Justine
Top achievements
Rank 1
answered on 08 Apr 2014, 07:41 PM
Vladimir, can you please repost the jsbin, I get a 404 error when trying to view the code. Thank you!
0
Hi Justine,
Both jsBin demos linked in current thread are currently accessible from us - could you please try to access the links again as the error may be related to jsBin servers glitch?
Regards,
Vladimir Iliev
Telerik
Both jsBin demos linked in current thread are currently accessible from us - could you please try to access the links again as the error may be related to jsBin servers glitch?
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!