• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Rendering button in PanelBarItem without triggering selection, expand nor collapse

Environment

Product Version5.14.1
ProductProgress® KendoReact

Description

I want to add a button in PanelBarItem but without selecting the item and without triggering the expand/collapse

Solution

Add a Button in the PanelBarItem and within the onClick event use preventDefault and stopPropagation over the event to stop the propagation to the PanelBar.

Example
View Source
Change Theme:

In this article

Not finding the help you need?