Browse Source

docs: Add Table expandIconColumnIndex -1 desc

pull/25436/head
zombiej 4 years ago
parent
commit
645bbacfd6
  1. 2
      components/table/index.en-US.md
  2. 2
      components/table/index.zh-CN.md

2
components/table/index.en-US.md

@ -170,7 +170,7 @@ Properties for expandable.
| defaultExpandAllRows | Expand all rows initially | boolean | false |
| defaultExpandedRowKeys | Initial expanded row keys | string\[] | - |
| expandIcon | Customize row expand Icon. Ref [example](https://codesandbox.io/s/fervent-bird-nuzpr) | function(props): ReactNode | - |
| expandIconColumnIndex | Customize expand icon column index | number | - |
| expandIconColumnIndex | Customize expand icon column index. Not render when `-1` | number | - |
| expandedRowKeys | Current expanded row keys | string\[] | - |
| expandedRowRender | Expanded container render for each row | function(record, index, indent, expanded): ReactNode | - |
| expandRowByClick | Whether to expand row by clicking anywhere in the whole row | boolean | false |

2
components/table/index.zh-CN.md

@ -177,7 +177,7 @@ const columns = [
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
| defaultExpandedRowKeys | 默认展开的行 | string\[] | - |
| expandIcon | 自定义展开图标,参考[示例](https://codesandbox.io/s/fervent-bird-nuzpr) | function(props): ReactNode | - |
| expandIconColumnIndex | 自定义展开按钮的列顺序 | number | - |
| expandIconColumnIndex | 自定义展开按钮的列顺序,`-1` 时不展示 | number | - |
| expandedRowKeys | 展开的行,控制属性 | string\[] | - |
| expandedRowRender | 额外的展开行 | function(record, index, indent, expanded): ReactNode | - |
| expandRowByClick | 通过点击行来展开子行 | boolean | false |

Loading…
Cancel
Save