Stacked Layout
Premium

Updated on Jan 16, 2026

The stacked layout mode of the Grid enables you to display data in a card-based format where each row renders as a vertical stack of field label/value pairs. This layout is particularly useful for mobile devices and responsive designs where horizontal space is limited.

ninja-iconThe Styling is part of KendoReact premium, an enterprise-grade UI library with 120+ free and premium components for building polished, performant apps. Test-drive all features with a free 30-day trial.Start Free Trial
Change Theme
Theme
Loading ...

Getting Started

To enable the stacked layout mode, set the dataLayoutMode property of the Grid to "stacked". This default configuration renders each field in a single column, stacking them vertically within each card.

Change Theme
Theme
Loading ...

Custom Column Widths

You can configure the stacked layout to arrange cells in multiple columns with custom widths using the stackedLayoutSettings property. The cols option accepts:

  • A number for equal-width columns: cols: 2 or cols: 3
  • An array of CSS values for custom widths: cols: ['1fr', '2fr', '1fr'], cols: [200, 400, 200], or cols: ['25%', '50%', '25%']
  • Width objects: cols: [{ width: 200 }, { width: '1fr' }]

The example below uses fraction units (fr) to create a three-column layout where the middle column is twice as wide as the outer columns.

Change Theme
Theme
Loading ...

Responsive Stacked Layout

You can dynamically switch between column and stacked layouts based on screen size for a responsive design. This allows you to show the traditional table layout on larger screens and the stacked layout on smaller devices. The layout switches automatically when the viewport size changes.

Change Theme
Theme
Loading ...

Editing

The stacked layout supports all editing modes of the Grid. The editing UI adapts seamlessly to the stacked layout, presenting editors within the card structure while maintaining full editing functionality.

Inline Editing

In Inline editing mode, clicking Edit enters the entire row into edit mode, displaying all editable fields with their respective editors.

Change Theme
Theme
Loading ...

In-Cell Editing

In In-cell editing mode, individual cells become editable when clicked, allowing users to edit one field at a time.

Change Theme
Theme
Loading ...

Dialog Editing

In Dialog editing mode, clicking a row opens a popup dialog containing the edit form.

Change Theme
Theme
Loading ...

Toolbar Tools

The stacked layout is fully compatible with all Grid toolbar components. Sorting, filtering, and column management tools work seamlessly with the stacked layout.

Change Theme
Theme
Loading ...

Grouping

The stacked layout supports data grouping, allowing you to organize items into collapsible categories. Group headers and footers adapt to the stacked format, with aggregate values displayed clearly within the card-based layout.

Change Theme
Theme
Loading ...

Stacked Layout vs Adaptive Rendering

The stacked layout mode (dataLayoutMode="stacked") and adaptive rendering (adaptive={true}) serve different purposes:

FeatureStacked LayoutAdaptive Rendering
PurposeCard-based data displayResponsive UI components
AffectsRow/cell renderingPager, column menu, edit forms
UsageMobile-first data layoutsResponsive popup elements
Can CombineYesYes

You can use both features together—stacked layout changes how data rows are rendered, while adaptive rendering adjusts how interactive elements like the pager and column menu appear on different screen sizes.

Limitations

The following features are not supported or have limitations when using the stacked layout mode:

  • Row/Column Spanning: The rowSpan and colSpan features are not available in stacked mode.
  • Column Reordering: Visual column reordering is not applicable to stacked layout.
  • Locked Columns: Column locking does not apply to stacked layout.