Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

How to refresh a DataGrid manually #5717

Discussion options

You must be logged in to vote

So a good way is the solution from @bbogdanov to push the new Item to the array of items, or to call refresh with the default state for the datagrid. Like this:

this.refresh({ page: { current: 1, from: 0, size: 10, to: 9 } });

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@mrkoenigstein
Comment options

@hippee-lee
Comment options

@mrkoenigstein
Comment options

@bbogdanov
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mrkoenigstein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants