DefaultScrolling

  • Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Default Scrolling in ASP.NET MVC Tree Grid Control

This sample demonstrates the Tree Grid component with the horizontal and vertical scrollbars to view the exceeded Tree Grid content.

DEMO
SOURCE

The Tree Grid will show scrollbar when the content exceeds the element width or height. The vertical and horizontal scrollbar will be displayed based on the following criteria.

  • The vertical scrollbar appears when the total height of rows present in Tree Grid exceeds its element height.
  • The horizontal scrollbar appears when the sum of column`s width exceeds Tree Grid element width.

The Height and Width property is used to set the Tree Grid Height and Width respectively. The value of these properties can be a numeric value, pixel(px) or percentage (%).

In this demo, the Height and Width property of the Tree Grid is set to 400 and auto respectively. Now, the Tree Grid will render with vertical scrollbar when the total height of rows exceeds its element height and horizontal scrollbar will appear when the total column width exceeds the element width.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE