Skip to content

Possibility to pass additional data in the server response for getList #9569

Description

@AntoineCrb

An API might want to send additional data since all the data isn't send when using pagination

The useListContext() hook, as documented here, provides only data and total, not additional values sent back by getList()

The solutions that could be implemented to allow this mechanism are not practical at all (feel free to explain it here if you were to find one)

I also found this stackoverflow question that raises the same issue


Here is an example using chips to show a summary of all the data (not working since the feature doesn't exist) :
Screenshot 2024-01-07 223943

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions