mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
Add demo for row-click selection
This commit is contained in:
parent
a7b939db43
commit
f95cb04585
@ -9,10 +9,14 @@ title:
|
||||
|
||||
第一列是联动的选择框。
|
||||
|
||||
> 默认点击 checkbox 触发选择行为,需要点击行触发可以参考例子:https://codesandbox.io/s/000vqw38rl
|
||||
|
||||
## en-US
|
||||
|
||||
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
|
||||
import { Table } from 'antd';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user