Skip to content

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

Closed
@AntoineCrb

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions