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

Example of Stacked Header in ASP.NET Core Data Grid Control

This sample demonstrates the Grid component with the stacked header and resize feature. In this sample, we have shown multiple level of column headers.

DEMO
SOURCE

The Grid columns can be stacked/grouped in order to show multiple level of column headers. It can be done by setting the columns->columns property.

The Grid columns can be resized by clicking and dragging at the right edge of columns header. To enable column, resize behavior, set allowResizing property as true. You can also prevent the resize of the particular column by setting columns->allowResizing as false in columns definition.

In this demo, the columns CustomerName, OrderDate are grouped under Order Details, the columns ShippedDate, ShipCountry, Freight are grouped under Ship Details.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab