Skip to content

Commit

Permalink
feat(data-table): add remote desc (#6404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jahnli authored Oct 7, 2024
1 parent 690a023 commit f77f10b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data-table/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export-csv.vue
| min-height | `number \| string` | `undefined` | The min-height of the table content. Can be a CSS value. | |
| min-row-height | `number` | `28` | Min row height of the table when `virtual-scroll` or `virtual-scroll-x` is enabled. Each row's height must be larger than its value. | 2.40.0 |
| paginate-single-page | `boolean` | `true` | Whether show pagination data is less than one page. | 2.28.0 |
| pagination | `false \| object` | `false` | See [Pagination props](pagination#Pagination-Props) | |
| pagination | `false \| object` | `false` | See [Pagination props](pagination#Pagination-Props). If the table data is from a remote server or needs to be loaded asynchronously, it is recommended to set the `remote` property to `true` to correctly handle the paging logic. | |
| pagination-behavior-on-filter | `'first' \| 'current'` | `'current'` | The behavior of pagination after filter state is changed. `'first'` means returning to first page on filter, `'current'` means keep at current page on filter. | 2.28.3 |
| remote | `boolean` | `false` | If data-table do automatic paging. You may set it to `true` in async usage. | |
| render-cell | `(value: any, rowData: object, column: DataTableBaseColumn) => VNodeChild` | `undefined` | Render function of cell, it will be overwritten by columns' `render`. | 2.30.5 |
Expand Down
2 changes: 1 addition & 1 deletion src/data-table/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ rtl-debug.vue
| min-height | `number \| string` | `undefined` | 表格内容的最低高度,可以是 CSS 属性值 | |
| min-row-height | `number` | `28` | 在开启 `virtual-scroll``virtual-scroll-x` 的情况下,每一行的最小高度,所有的行的高度必须比这个值更大 | 2.40.0 |
| paginate-single-page | `boolean` | `true` | 当表格数据只有一页时是否显示分页面 | 2.28.0 |
| pagination | `false \| object` | `false` | 属性参考 [Pagination props](pagination#Pagination-Props) | |
| pagination | `false \| object` | `false` | 属性参考 [Pagination props](pagination#Pagination-Props)。如果表格数据来自远程服务器或需要进行异步加载,建议将 `remote` 属性设置为 `true`,以便正确处理分页逻辑 | |
| pagination-behavior-on-filter | `'first' \| 'current'` | `'current'` | 过滤操作后页面的状态,`'first'` 为回到首页,`'current'` 为停留在当前页 | 2.28.3 |
| remote | `boolean` | `false` | 表格是否自动分页数据,在异步的状况下你可能需要把它设为 `true` | |
| render-cell | `(value: any, rowData: object, column: DataTableBaseColumn) => VNodeChild` | `undefined` | 自定义单元格渲染,优先级低于列的 `render` | 2.30.5 |
Expand Down

0 comments on commit f77f10b

Please sign in to comment.