New to KendoReactLearn about KendoReact Free.

Adaptive Rendering

The Toolbar provides options for enabling adaptive rendering for its tools. This functionality allows the component to adapt to the screen size by adjusting the rendering of the overflowing tools.

By default, the ToolBar allows you to choose from three different overflow modes for smaller screen sizes:

Scroll Mode

The Toolbar allows you to scroll through its tools when they cannot fit in the component boundaries. It provides a rich API for customizing the scroll logic and the Toolbar appearance based on your preference.

To enable the scroll overflow mode, set the overflow property of the Toolbar to scroll.

The Toolbar further enables you to configure the following options:

  • scrollButtons—Determines the visibility behavior of the scroll buttons in the tab list. The default value is auto.
  • scrollButtonsPosition—Allows customizing the position of the scroll buttons. The default value is split.
  • buttonScrollSpeed—Sets the toolbar tools scroll speed in pixels when clicking the scroll buttons. The default value is 100px.
  • prevButton—Allows specifying a custom component for the previous scroll button.
  • nextButton—Allows specifying a custom component for the next scroll button.

The following example demonstrates how to make the ToolBar tools scrollable.

Change Theme
Theme
Loading ...

Section Mode

The Toolbar enables you to hide the tools that do not fit its boundaries in an overflow section. To enable the section overflow mode, set the overflow property of the Toolbar to section.

The following example demonstrates how to render overflowing ToolBar tools in a popup using their initial components and layout.

Change Theme
Theme
Loading ...
In this article
Scroll ModeSection ModeSuggested Links
Not finding the help you need?
Contact Support