I need to set the initial state of a button group! If I am using a buttongroup to represent a value, then how do I set the initial state?! How was this not thought of??
Hi John,
The developer can set an initially selected button by setting its selected property to true:
<kendo-buttongroup>
<button kendoButton [toggleable]="true" icon="bold" [selected]="true"></button>
<button kendoButton [toggleable]="true" icon="italic"></button>
<button kendoButton [toggleable]="true" icon="underline"></button>
</kendo-buttongroup>
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/.