Skip to content

Table expandable中的fixed设为'left'|'right', 页面报错 #755

@horseson2018

Description

@horseson2018

image

例子:codesandbox

1.expandable的fixed设为string的时候,必须同时设置table的scroll.x,个人建议可以加个提示warning,现在页面直接崩溃了。

2.fixed设置为right的时候还必须同时设置expandIconColumnIndex为basecolumns的length,否则会不生效,个人认为用户在设置fixed为right的时候已经想好了就是要定在最右边,不应该还需要设置expandIconColumnIndex,并且目前这一点也没有提示

ps:以上两点包括antd的文档上也没有足够的说明
image

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