ant-design-blazor/site/AntDesign.Docs/Demos/Components/Table/demo/row-selection.md
2021-02-06 20:15:46 +08:00

623 B

order title
2
en-US zh-CN
selection 可选择

zh-CN

第一列是联动的选择框。可以通过 rowSelection.type 属性指定选择类型,默认为 checkbox

默认点击 checkbox 触发选择行为,需要点击行触发可以参考例子:https://codesandbox.io/s/000vqw38rl

en-US

Rows can be selectable by making first column as a selectable column. You can use rowSelection.type to set selection type. Default is checkbox.

selection happens when clicking checkbox by default. You can see https://codesandbox.io/s/000vqw38rl if you need row-click selection behavior.