I'm working on an app that needs to display Kendo Recurrence Editor as read-only mode. Is the component have read-only option?
Example on the attached image.
2 Answers, 1 is accepted
answered on 02 Mar 2021, 08:05 AM
In order to render the widgets in the Recurrence Editor in a read-only mode, I would suggest you subscribe to the edit event of the Scheduler. In the event handler, you could find the inputs you need to render as readonly. Then, for example for NumerictTextBox, DateTimePickers, ButtonGroup, you could use the enable method and set it to false. Below is an example of setting the 'Repeat' ButtonGroup and the 'Repeat every' NumericTextBox to non-editable:
Here is a Dojo example where the described above is implemented. I hope you will find the example helpful.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.