diff --git a/src/data-table/demos/enUS/index.demo-entry.md b/src/data-table/demos/enUS/index.demo-entry.md index 2b4530aa17a..6759ed2e3fd 100644 --- a/src/data-table/demos/enUS/index.demo-entry.md +++ b/src/data-table/demos/enUS/index.demo-entry.md @@ -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 | diff --git a/src/data-table/demos/zhCN/index.demo-entry.md b/src/data-table/demos/zhCN/index.demo-entry.md index b88384e4205..7484a613320 100644 --- a/src/data-table/demos/zhCN/index.demo-entry.md +++ b/src/data-table/demos/zhCN/index.demo-entry.md @@ -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 |