I have a request to add and remove some fields in the appointment details. Can I do that? How can I achieve this? I'm attaching a print screen of what I'm trying to customize.
Thank you.
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 18 Feb 2019, 06:41 AM
Hello Pablo,
If you would like to customize the create and edit popup window of the Scheduler, this could be achieved through the Editable.TeplateName property that allows specifying a template:
Then, create a view with the specified name (CustomEditorTemplate) and define the required markup. The template automatically receives the respective model data, thus allowing you to bind the fields. Important to note is that the data_bind attribute is required to be used to apply the value binding, as the Scheduler uses MVVM internally to update the data in the views:
There is an existing example for ASP.NET MVC that demonstrates how the custom template could be configured for the initial fields. You could use this as a startup point to configure the same behavior in the ASP.NET Core project. In order to add new data to the template, make sure that the property is available in the Scheduler model and is also defined in the DataSource Schema.
Regards,
Dimitar
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.