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.
Thanks,
2 Answers, 1 is accepted
0
Neli
Telerik team
answered on 02 Mar 2021, 08:05 AM
Hi Nuttachai,
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.
Regards,
Neli
Progress Telerik
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/.