mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
docs: table locale, ref #1110
This commit is contained in:
parent
5c27efc360
commit
3e9a5afa90
@ -66,7 +66,7 @@ const columns = [{
|
||||
| defaultExpandedRowKeys | 默认展开的列 | Array | | - |
|
||||
| onChange | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter) | | |
|
||||
| loading | 页面是否加载中 | Boolean | | false |
|
||||
| locale | 设置排序、过滤按钮的文字或 `title` | Object | | [默认值](https://github.com/ant-design/ant-design/issues/575#issuecomment-159169511) |
|
||||
| locale | 默认文案设置,目前包括排序、过滤、空数据文案 | Object | | `{ filterConfirm: '确定', filterReset: '重置', emptyText: '暂无数据' }` [默认值](https://github.com/ant-design/ant-design/issues/575#issuecomment-159169511) |
|
||||
| indentSize | 展示树形数据时,每层缩进的宽度,以 px 为单位 | Number | | 15 |
|
||||
| onRowClick | 处理行点击事件 | Function(record, index) | | 无 |
|
||||
| useFixedHeader | 是否固定表头 | Boolean | | false |
|
||||
|
Loading…
Reference in New Issue
Block a user