• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chart Wizardnew
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Toolsupdated
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChart
    • PDF Processing
    • PDF Viewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheet
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

KendoReact GridLayout Overview

The KendoReact GridLayout component allows you to easily arrange the contents of the component in rows and columns in a grid structure.

It offers grid-layout system with rows and columns. It is based on the CSS Grid Layout where you can configure items per a specific row and column, as well as span content across them.


The following example demonstrates the React Grid Layout component in action and also showcases other KendoReact components—the Calendar, ChipList and Card components. The components are arranged in a grid structure by defining the columns, rows, and gaps between them.

Example
View Source
Change Theme:

The GridLayout is part of the KendoReact Layout component library. The procedures for installing, importing, and using all components in the library are identical. To learn how to use the React Grid Layout and the rest of the components in the package, see the Getting Started with the KendoReact Layout Package guide.

Key Features

  • Rows and columns— To configure the appearance of the GridLayout, you can use the rows and cols properties.
  • Gaps—The setting of the gaps is another way to alter the appearance of the GridLayout.
  • Horizontal alignment—Four predefined values allows you to control the horizontal alignment.
  • Vertical alignment—Four predefined values allows you to control the vertical alignment.
  • Items—The GridLayout enables you to control the position of its items.

Frequently Asked Questions

How to Make a Grid Layout in React? 

You can create a Grid Layout in React by leveraging the KendoReact GridLayout component. It allows you to create responsive and customizable grid layouts by utilizing the built-in grid-layout system with rows and columns.

What is a dynamic grid layout in React? 

A dynamic grid layout in React is a flexible, responsive grid system that adjusts its layout based on the content and screen size. This kind of grid layout automatically rearranges its items to fit the available space, making it an excellent choice for applications that need to handle varying content sizes, responsive designs, or complex grid structures.