Replies: 1 comment
-
This is no longer an issue with v2.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First time trying datatables, but got a bit lost for how to implement from my existing setup.
In +page.server.ts I have my query to a database which pulls out 100 rows, which I want to serve 20 rows at a time, so 5 paginated tables.
Then in my apphistory +page.svelte I import the AppHistoryTable.svelte and pass it the data once it comes from the svelte load functions.
AppHistoryTable.svelte component looks like this:
But this, and other variations, complain that;
My AppHistoryInfo is defined as this:
How am I supposed to correctly change my data into Row? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions