Skip to content

Table 组件的columns中添加列属性 maxWidth、minWidth #2875

@beenqi

Description

@beenqi
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

目前,当一列内容过多时会无限侵占其他列的宽度,希望能添加最大宽的属性来限制列最宽的情况

What does the proposed API look like?

columns = [

{
title: '项目描述',
dataIndex: 'projectDesc',
maxWidth: '400px',
minWidth: '100px',
}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions