How to refresh a DataGrid manually #5717
-
How can I reload a DataGrid manually after I change some Data which is displayed with the Datagrid? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @cschulc, Could you please give us more details about your scenario? We would appreciate if you could provide us a stackblitz example. Here are templates that you can use for the example |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
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 } });