Comments (3)
Sorry, I'm not quite sure what the proposed API would be like. Unfortunately, Svelte's reactivity does require a reassignment, so pop
and append
shouldn't work if I'm not mistaken?
from svelte-headless-table.
My bad, I was thinking more that svelte-headless-table could have helper functions to add/remove/update the table, which is something tabulator has for instance.
Since as of right now, the solution I've done is usingpop
& append
the $tableData
array.
However I can understand if this is not desirable if svelte-headless-table is trying to be as close to tanstack table as possible (or at least svelte-headless-table feels a lot similar to tanstack tables 😄)
from svelte-headless-table.
Yep! Svelte Headless Table was heavily inspired by Tanstack and similarly, believes in keeping the $data
prop as the single source of truth.
from svelte-headless-table.
Related Issues (20)
- Cannot find module 'svelte-headless-table/plugins' or its corresponding type declarations on version 0.18.1 HOT 6
- Sveltekit | "moduleResolution": "Bundler" | Cannot find module 'svelte-headless-table/dist/plugins' or its corresponding type declarations. HOT 3
- createRender onClick not updating with new data HOT 1
- Feature Request: allow sort order to be set as an alternative to toggle HOT 2
- wrapping svelte-headless-table into a component produces an error HOT 1
- BUG: addColumnFilters() not working HOT 1
- Plugin: Resize columnWidth values break when data Promise is resolved HOT 1
- Feature Request: Make `addResizeColumns` more flexible HOT 1
- Feature Request: Cell/Header Attributes HOT 3
- Bug: Issues adjusting table size when rows are expanded
- Race condition between the `groupBy` plugin and svelte rerender HOT 1
- serverItemCount is undefined HOT 2
- Additional columns from a child array
- initialHiddenColumnIds not working HOT 2
- Add Client side lazy load on scroll. HOT 1
- Colspan for Body Cells - workaround with a custom cell ?
- How to change sub rows rowDataId ? HOT 2
- Doc: Index the documentation and add a search box to navigate the website quickly HOT 1
- Re-rendering addResizedColumns BUG
- Property 'original' does not exist on type 'BodyRow<User, AnyPlugins>'.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelte-headless-table.