• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
      • Overview
      • Getting Started
      • ActionSheet
      • AppBar
      • Avatar
      • BottomNavigation
      • Breadcrumb
      • Card
      • Drawer
      • ExpansionPanel
      • GridLayout
      • Menu
      • Context Menu
      • PanelBar
      • Splitter
      • StackLayout
      • TabStrip
      • Stepper
      • TileLayoutupdated
      • Timeline
      • Globalization
      • API
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

GridLayoutProps

Represents the props of the KendoReact GridLayout component.

NameTypeDefaultDescription

align?

GridLayoutAlign

Specifies the horizontal and vertical alignment of the inner GridLayout elements (see demos here and here).

The possible keys are:

  • horizontal—Defines the possible horizontal alignment of the inner GridLayout elements.
    • start—Uses the start point of the container.
    • center—Uses the central point of the container.
    • end—Uses the end point of the container.
    • (Default)stretch—Stretches the items to fill the width of the container.
  • vertical— Defines the possible vertical alignment of the inner GridLayout elements.
    • top—Uses the top point of the container.
    • middle—Uses the middle point of the container.
    • bottom—Uses the bottom point of the container.
    • (Default)stretch—Stretches the items to fill the height of the container.

children?

React.ReactNode

The React elements that will be rendered inside the GridLayout.

className?

string

Sets additional CSS classes to the GridLayout.

cols?

GridLayoutColumnProps[]

Specifies the default number of columns and their widths (see example).

gap?

GridLayoutGap

Specifies the gaps between the elements (see example).

  • The possible keys are:
  • rows
  • columns

id?

string

Sets the id property of the root GridLayout element.

rows?

GridLayoutRowProps[]

Specifies the default number of rows and their height (see example).

style?

React.CSSProperties

Sets additional CSS styles to the GridLayout.

In this article

Not finding the help you need?