Skip to content
Docs
Container
Layout Container - Grid Layout

Grid Layout

Latest Update:Jul 25, 2023, 14:26:11

Scenarios

Suitable for scenarios where you need to use a grid for page layout.

Extended Scenarios

Layout pages using grid layout, and you can nest grid layouts within a grid layout.

In a grid layout, you can add rows both above and below and add columns to the left and right based on your layout needs.

Property Introduction

Properties received from external input of component

Grid Layout:

Property NameProperty Description
Layout Name默认为“网格布局”,可手动修改,以区别页面中多个网格布局
Number of ColumnsDisplays the number of columns in the current grid layout
Number of RowsDisplays the number of rows in the current grid layout

Row:

Property NameProperty Description
Layout NameDefault is "Grid Layout" but can be manually changed to distinguish multiple rows on a page
Number of ColumnsDisplays the number of columns in the current grid layout
Number of RowsDisplays the number of rows in the current grid layout
Add a Row AboveInserts a row above the current row
Add a Row BelowInserts a row below the current row

Column:

Property NameProperty Description
Layout NameDefault is "Grid Layout" but can be manually changed to distinguish multiple columns on a page
Add a Column AboveInserts a column to the left of the current column
Add a Column BelowInserts a column to the right of the current column

Events

Column: Click Mouse in Mouse out