This is a migrated thread and some comments may be shown as answers.

kendo-panelbar: Programically Focused

1 Answer 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
IanV
Top achievements
Rank 1
Veteran
IanV asked on 12 Dec 2020, 12:39 AM

We can set the 'selected' and 'expanded' property of a panelbaritem,

 

but when we set the focused  property, the UI doesn't update. Only when we tap with the mouse does the focused state change.

 

How can we do this in code?

            item.selected = true;
            item.focused = true;

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 15 Dec 2020, 11:50 AM

Hi Ian,

The PanelBarItem component currently provides the selected and expanded properties, but it doesn't provide a focused property. Please check its API at the following link:

https://www.telerik.com/kendo-angular-ui/components/layout/api/PanelBarItemComponent/

thus the required functionality of focusing a PanelBarItem isn't supported at the moment.

Please let me know in case I can provide any further information on this case. Thank you.

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

Tags
General Discussions
Asked by
IanV
Top achievements
Rank 1
Veteran
Answers by
Svet
Telerik team
Share this question
or