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

Disable panelBar but allow user to expand and collapse

1 Answer 663 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ruairi
Top achievements
Rank 1
Ruairi asked on 28 Sep 2015, 12:06 PM

I have Views with multiple PanelBars and I want to be able to enable and disable all the PanelBars to simulate a ReadOnly View.

Is it possible to Disable a PanelBar but still allow the user to Collapse and Expend it?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Sep 2015, 08:50 AM
Hi Tyler,

A disabled look for any Kendo UI widget can be achieved by applying a k-state-disabled CSS class to the widget wrapper.

http://docs.telerik.com/kendo-ui/web/appearance-styling#primitives
 
http://docs.telerik.com/kendo-ui/framework/widgets/wrapper-element

Per-item disabling in the PanelBar is normally achieved via the widget API, however, disabled items cannot be expanded or collapsed.

http://docs.telerik.com/KENDO-UI/api/javascript/ui/panelbar#methods-enable

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
PanelBar
Asked by
Ruairi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or