Kendo Panel bar

1 Answer 110 Views
PanelBar
Vikas
Top achievements
Rank 1
Iron
Iron
Vikas asked on 29 Oct 2023, 08:06 PM
Is there any option to manage Kendo Panel bar expand mode, in desktop Panel bar will be in expanded mode and in mobile it will be collapsed mode.

1 Answer, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 01 Nov 2023, 02:46 PM

Hi Vikas,

I am not sure that understand the requirement correctly. Please provide some more details about the desired end goal in case I misunderstood you.

Based on my assumption the expected behavior is to expand all PanelBar items initially on desktop, but not on mobile or manage the expandMode property based on the operational system. 

For both approaches, the developer needs to detect the operational system using some custom JavaScript code. In case, all items should be expanded, the expanded property can be utilized, as shown in the following example:

https://stackblitz.com/edit/angular-r8eac6

I am looking forward to your reply.

Regards,
Simeon
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Vikas
Top achievements
Rank 1
Iron
Iron
commented on 07 Nov 2023, 03:22 PM

Hi Simeon,

Looking for below scenario, any help from you really helpful for me

 

Simeon
Telerik team
commented on 09 Nov 2023, 03:26 PM

Hi Vikas,

Thank you for the provided screenshot.

If I understood correctly, the PanelBar should be collapsed with the header visible on mobile but expanded with the header hidden on desktop. Please correct me if I misunderstood you.

Based on my presumption, I have updated the previous example to demonstrate a possible solution:

https://stackblitz.com/edit/angular-r8eac6-e4fuam

I hope this helps. Let me know if any further assistance is needed.

Regards,
Simeon
Progress Telerik
Tags
PanelBar
Asked by
Vikas
Top achievements
Rank 1
Iron
Iron
Answers by
Simeon
Telerik team
Share this question
or