DataTable does not get refreshed #1274
-
Hi, I try to implement a DataTable like it is described on the Docs page. The only exception to the provided code is, that I send the data to the data-table.svelte via props. The data is fetched in the load function in the +page.server.ts file from the database. If I add an entry via a form on the same page, the data table does not get refreshed. If I render the data directly on the page, the data get refreshed immediately. Could someone gimme a hint, what I'm doing wrong? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, @Schnurbus This should help, bryanmylee/svelte-headless-table#105 (comment) Cheers. |
Beta Was this translation helpful? Give feedback.
-
Hi @shyakadavis Thank you very much for the really quick reply. This helps alot. |
Beta Was this translation helpful? Give feedback.
Hello, @Schnurbus
This should help, bryanmylee/svelte-headless-table#105 (comment)
Cheers.