|
@ -9,10 +9,14 @@ title: |
|
|
|
|
|
|
|
|
第一列是联动的选择框。 |
|
|
第一列是联动的选择框。 |
|
|
|
|
|
|
|
|
|
|
|
> 默认点击 checkbox 触发选择行为,需要点击行触发可以参考例子:https://codesandbox.io/s/000vqw38rl |
|
|
|
|
|
|
|
|
## en-US |
|
|
## en-US |
|
|
|
|
|
|
|
|
Rows can be selectable by making first column as a selectable column. |
|
|
Rows can be selectable by making first column as a selectable column. |
|
|
|
|
|
|
|
|
|
|
|
> selection happens when clicking checkbox defaultly. You can see https://codesandbox.io/s/000vqw38rl if you need row-click selection behavior. |
|
|
|
|
|
|
|
|
````jsx |
|
|
````jsx |
|
|
import { Table } from 'antd'; |
|
|
import { Table } from 'antd'; |
|
|
|
|
|
|
|
|