Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Table的selectedRowKeys只能以index索引作为取值逻辑 #485

Open
@zhouping3

Description

@zhouping3

Table的selectedRowKeys只能以index索引作为取值逻辑,无法自定义为表格数据的某个唯一字段。目前在做表格的动态增删数据时,由于可新增删除表格数据,所以index无法唯一标识表格行数据,导致表格选中逻辑bug(改选中的没选中或不该选中的选中了)。希望可以添加rowKey之类的props可定义selectedRowKeys的取值逻辑

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions