Disable panelBar but allow user to expand and collapse

2 posts, 0 answers
  1. Tyler
    Tyler avatar
    47 posts
    Member since:
    Nov 2013

    Posted 28 Sep 2015 Link to this post

    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?

  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 30 Sep 2015 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top