Skip to content

table组件如何使用columns来自定义表头 #8154

Closed
@appleqzw

Description

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

Version

4.2.6

Environment

win10 pnpm10

Reproduction link

https://next.antdv.com/components/table-cn/#column

Steps to reproduce

是否可以使用columns来自定义表头?封装的通用表格组件,不想在template中单独写额外逻辑来自定义表头

What is expected?

可以使用columns来自定义表头,最简单的比如表头加icon之类的

What is actually happening?

没找到文档中如何使用columns来自定义表头

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