Skip to content

Is it possible to pre-specify filters and sorting for the table from the beginning? #7214

@LeeMQ-programmer

Description

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

What problem does this feature solve?

I'm not proficient in either Chinese or English, so I used a translator to ask the question. It might sound a bit awkward, but please understand. I am displaying data on the screen using a datatable. Even if I reload the table asynchronously, can I specify filter and sort from the beginning? Currently, if you explicitly specify filteredValue and defaultSortOrder, it works, but you can't specify them using variables.

What does the proposed API look like?

in https://antdv.com/components/table

filter.mainJob or sort.value.order contains the same value as explicitly written.

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions