Browse Source

Add demo for row-click selection

pull/8982/head
afc163 7 years ago
parent
commit
f95cb04585
  1. 4
      components/table/demo/row-selection.md

4
components/table/demo/row-selection.md

@ -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';

Loading…
Cancel
Save