Skip to content

对rowSelection的onSelect与onSelectAll的建议 #254

@ustczy

Description

@ustczy

目前业务中不止一次使用到rowSelection事件,每次无非就是在业务代码里去写一段逻辑,最终实现的效果就是想得到选中的数据,然后在业务state中维护一份选中的数据。但是表格中选中的数据也只有在onSelect与onSelectAll事件触发的时候拿到,建议可以增加一个随时随刻拿选中数据的方法,比如this.table.getCheckedData(),仅供参考

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions