Skip to content

protable 多选回显功能 #561

@chenhaijia

Description

@chenhaijia

我们现在很多时候 会在弹框里去使用protable, 经常需要用到回显功能 初始化给多选的checkbox 加点默认选中的值;我们的方案暂时是使用官方的toggleRowSelection 但是这个api呢 有点问题 必要使用 tabledata的原数据进行选中 否则会不能点击像下图这样子

Image 所以需要封装一下 分页的时候吖 都需要处理一下,不知道作者老师 有没有考虑这方面整理一下 做个封装呢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions