I have a combo inside a column of the grid, i already managed to introduce a default value. Now i need to block the combo actions, so the user cannot remove the default value.
My grid with combobox:
My code do default value inside combobox:
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 03 Feb 2023, 08:29 AM
| edited on 03 Feb 2023, 08:29 AM
You can toggle the readonly state of the ComboBox by using the readonly() method:
combobox.readonly(true);
Alternatively, you can append the .k-disabled CSS class to the ComboBox wrapper element:
$(".k-combobox").addClass("k-disabled");
I hope this helps.
Regards,
Nikolay 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/.