Skip to content

Can I use slots: { customRender: 'XXX'} when the table uses template style? how to use? #5314

@agoni1212

Description

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

What problem does this feature solve?

template 风格使用 slots: { customRender: 'XXX'}

What does the proposed API look like?

template 风格使用 slots: { customRender: 'XXX'}

<a-table> <a-table-column title="日期1" align="center" :width="120" data-index="doc_dt1" :slots="{ customRender: 'formateDate' }" /> <a-table-column title="日期2" align="center" :width="120" data-index="doc_dt2" :slots="{ customRender: 'formateDate' }" /> <span slot="formateDate" slot-scope="text">{ text }</span> </a-table>

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