Change autoclose property of multiselect through Javascript after initialization?

1 Answer 33 Views
MultiSelect
Dave Wolf
Top achievements
Rank 1
Iron
Dave Wolf asked on 22 Aug 2022, 11:31 PM
I have a form with a bunch of kendo multiselects and I want to give the user the ability to change the "autoclose" property.  Is there anyway to update the control after it was initialized through JavaScript to change the "autoclose" property?

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin
Telerik team
answered on 25 Aug 2022, 12:18 PM

Hello, Dave,

You can use the setOptions method. Here is a small example for reference.

Regards,
Martin
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/.

Dave Wolf
Top achievements
Rank 1
Iron
commented on 25 Aug 2022, 03:43 PM

Thanks, that worked great.
Tags
MultiSelect
Asked by
Dave Wolf
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or