diff --git a/en/application-dev/reference/arkui-ts/ts-container-grid.md b/en/application-dev/reference/arkui-ts/ts-container-grid.md index cba299a352b8ccc092a9926a3a33333255ab4b24..fd33781664b0457ede59618260c7125043324de6 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-grid.md +++ b/en/application-dev/reference/arkui-ts/ts-container-grid.md @@ -1,11 +1,11 @@ # Grid -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. -The **<Grid>** component is a two-dimensional layout. The component is divided into rows and columns, to form cells. You can specify the cell where an item is located and combine different grids to form various layouts. +The **<Grid>** component is a two-dimensional layout. The component is divided into rows and columns to form cells. You can specify the cell where an item is located and combine different grids to form various layouts. ## Required Permissions @@ -48,7 +48,7 @@ Grid() ## Events - | Name | Description | +| Name | Description | | -------- | -------- | | onScrollIndex(first: number) => void | Triggered when the start item of the grid changes. | diff --git a/en/application-dev/reference/arkui-ts/ts-container-gridcontainer.md b/en/application-dev/reference/arkui-ts/ts-container-gridcontainer.md index cf01858f70382307d4aaea98819d1a93f861e9b9..c3333d25b2fa29ae93a79e477d92ea8690937847 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-gridcontainer.md +++ b/en/application-dev/reference/arkui-ts/ts-container-gridcontainer.md @@ -1,7 +1,7 @@ # GridContainer -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -23,7 +23,7 @@ This component can contain child components. GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter?: Length, margin?: Length}) - Parameter - | Name | Type | Mandatory | Default Value | Description | + | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | | columns | number \| 'auto' | No | 'auto' | Total number of columns in the current layout. | | sizeType | SizeType | No | SizeType.Auto | Device size type. | @@ -31,7 +31,7 @@ GridContainer(options?: { columns?: number | 'auto', sizeType?: SizeType, gutter | margin | Length | No | - | Margin of the grid layout. | - SizeType enums - | Name | Description | + | Name | Description | | -------- | -------- | | XS | Device of the minimum size. | | SM | Small-sized device. | diff --git a/en/application-dev/reference/arkui-ts/ts-container-griditem.md b/en/application-dev/reference/arkui-ts/ts-container-griditem.md index 7133cf4d8027b231eb430e02601d806b4ee34c41..90d126259cedb645ec148cafc94ec35086891d88 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-griditem.md +++ b/en/application-dev/reference/arkui-ts/ts-container-griditem.md @@ -1,7 +1,7 @@ # GridItem -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -32,7 +32,7 @@ GridItem() | columnStart | number | - | Start column number of the component. | | columnEnd | number | - | End column number of the component. | | forceRebuild | boolean | false | Whether to re-create this node when the component is being built. | -| selectable8+ | boolean | true | Whether the current **<GridItem>** is selectable by the mouse.
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> This attribute takes effect only when mouse frame selection is enabled for the parent **<Grid>** container. | +| selectable8+ | boolean | true | Whether the current **<GridItem>** is selectable by the mouse.
**NOTE**
This attribute takes effect only when mouse frame selection is enabled for the parent **<Grid>** container. | ## Events