Skip to content

Commit

Permalink
docs: fix incorrect description of docs (fix nhn#1449) (nhn#1503)
Browse files Browse the repository at this point in the history
  • Loading branch information
jajugoguma authored Nov 5, 2021
1 parent eb6cc86 commit 1c7afdc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/toast-ui.grid/docs/en/setting-width-height.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ Following are the options used to configure the height.

| Option Name | Type | Default Value |
| --- | --- | --- |
| `rowHeight` | `number \| 'auto'` | `'auto'` |
| `rowHeight` | `number \| 'auto'` | `40` |
| `minRowHeight` | `number` | `40` |

* Viewport Area Height Configuration

| Option Name | Type | Default Value |
| --- | --- | --- |
| `bodyHeight` | `number \| 'auto' \| 'fitToParent'` | `'auto'` |
| `minBodyHeight` | `number` | `minRowHeight` |
| `minBodyHeight` | `number` | `130` |

* Header Area Height Configuration

Expand Down
4 changes: 2 additions & 2 deletions packages/toast-ui.grid/docs/ko/setting-width-height.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ const grid = new Grid({

| 옵션명 | 타입 | 기본값 |
| --- | --- | --- |
| `rowHeight` | `number \| 'auto'` | `'auto'` |
| `rowHeight` | `number \| 'auto'` | `40` |
| `minRowHeight` | `number` | `40` |

* 뷰포트 영역 높이 설정

| 옵션명 | 타입 | 기본값 |
| --- | --- | --- |
| `bodyHeight` | `number \| 'auto' \| 'fitToParent'` | `'auto'` |
| `minBodyHeight` | `number` | `minRowHeight` |
| `minBodyHeight` | `number` | `130` |

* 헤더 영역 높이 설정

Expand Down
4 changes: 2 additions & 2 deletions packages/toast-ui.grid/src/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ if ((module as any).hot) {
* @param {boolean} [options.header.complexColumns.hideChildHeaders=false] - If set to true, the child columns header are hidden.
* @param {boolean} [options.header.complexColumns.resizable=false] - If set to true, resize-handles of each complex columns will be shown.
* @param {string|number} [options.width='auto'] - Options for grid width.
* @param {string|number} [options.rowHeight] - The height of each rows. The default value is 40,
* @param {string|number} [options.rowHeight=40] - The height of each rows.
* the height of each rows expands to dom's height. If set to number, the height is fixed.
* @param {number} [options.minRowHeight=40] - The minimum height of each rows. When this value is larger than
* the row's height, it set to the row's height.
* @param {string|number} [options.bodyHeight] - The height of body area. The default value is 'auto',
* the height of body area expands to total height of rows. If set to 'fitToParent', the height of the grid
* will expand to fit the height of parent element. If set to number, the height is fixed.
* @param {number} [options.minBodyHeight=minRowHeight] - The minimum height of body area. When this value
* @param {number} [options.minBodyHeight=130] - The minimum height of body area. When this value
* is larger than the body's height, it set to the body's height.
* @param {Object} [options.columnOptions] - Option object for all columns
* @param {number} [options.columnOptions.minWidth=50] - Minimum width of each columns
Expand Down

0 comments on commit 1c7afdc

Please sign in to comment.