svelte-headless-table
svelte-headless-table copied to clipboard
Async / fetch support?
Does this library by chance support retrieving data via an async fetch on the client? For example, how would you set these asynchronously?
const {
headerRows,
rows,
tableAttrs,
tableBodyAttrs,
} = table.createViewModel(columns);
Hey, unfortunately I didn't account for columns being reactive, so it's not supported.
If you need columns to be dynamically provided, I'd suggest implementing a view model yourself without this library! I'd be happy to help in that regard.