0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
Commit graph

33 commits

Author SHA1 Message Date
Kevin Van Cott
09598d2e41
feat: support infinite pagination page sizes (#6526)
* feat: support infinite pagination page sizes

* add devtools to all with-tanstack examples

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-07 13:11:04 -05:00
Kevin Van Cott
3b2eb64256
test: add more e2e tests 2026-07-29 19:29:33 -05:00
Kevin Van Cott
209699ff77
docs: rewrite faceting guides and bucketd faced example 2026-07-17 18:26:00 -05:00
Kevin Van Cott
f265513e01
feat: aggregation overhaul as a standalone feature (#6418)
* feat: aggregation overhaul as a standalone feature

* finish updating rest of examples and guides
2026-07-14 12:48:08 -05:00
Kevin Van Cott
eba5386a67
feat: new filter, sort, aggregation Fns, and recommended import patterns (#6415)
* feat: new filter, sort, aggregation Fns, and recommended import patterns

* fix some examples
2026-07-12 20:47:49 -05:00
Kevin Van Cott
6340a91924
docs: add useful commented out table options to examples 2026-07-12 12:59:18 -05:00
Kevin Van Cott
d1c84eb646 examples: standardize stress tests and remove re-render buttons 2026-06-24 17:53:16 -05:00
Kevin Van Cott
a84475b17b
feat: refactor features option to include row models and fns (#6318)
* feat: refactor features option to include row models and fns

* ci: apply automated fixes

* fix column/global filtering feature relationship in types

* fix TData in custom filterFns

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 09:38:52 -05:00
Riccardo Perra
8412d5d2a2
feat: enable support for native reactivity in solid vue adapters (#6298)
* chore: update examples to use table.store.get() instead of removed table.state

* feat: refactor solid/vue native reactivity adapter

* ci: apply automated fixes

* ci: apply automated fixes (attempt 2/3)

* fix: update all examples to call table.atoms instead of table.store

* ci: apply automated fixes

* fix(vue): call reactivity unmount on scope dispose

* correct merge conflict resolution and regen lock file

* fix sherif issue

* update table state docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
2026-06-07 12:14:47 -05:00
Kevin Van Cott
60e4d7b371
feat: drop the underscore. It's cleaner (#6296)
* feat: drop the underscore. It's cleaner

* simplify
2026-06-05 13:39:35 -05:00
Riccardo Perra
63ea77ce67
feat: add angular devtools support and fix core devtools reactivity (#6248)
* feat: add angular devtools

* fix(table-devtools): fix table state reactivity

Refactor devtools panel with a more solid-idiomatic approach, using memo and dynamic `useTableState` subscription via Accessor getter to not break reactivity.

* Add devtools in all angular examples

* Use a stable identifier reference to register devtools in table

* Fix dependency versions

* ci: apply automated fixes

* generate instanceId for react-table

* fix basic external store examples
mark table.store as deprecated in adapter table types
replace table.store.state with table.state in examples

* add external atoms example in angular

* update package lock

* ci: apply automated fixes

* update angular adapter for readonly atom reactivity pattern

* add missing angular examples (WIP)

* clean up devtools on examples

* fix some angular reactivity

* ci: apply automated fixes

* fix solid and svelte reactivity issues

* update docs gen

* apply pr feedback

* make state reads consistent in angular examples

* ci: apply automated fixes

* fix infinite render in angular column-pinning-split

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
2026-05-29 10:49:41 -04:00
Kevin Van Cott
70536e7cd2 chore: simplify pagination examples 2026-05-04 11:38:05 -05:00
Kevin Van Cott
b12a65b762 chore: remove twind from examples 2026-04-30 23:27:14 -05:00
Kevin Van Cott
bda3e16a89 fix: issues with react compiler, various lint issues, improve all examples stress testing 2026-04-26 14:35:39 -05:00
Kevin Van Cott
19490e7f44
feat: refactor table store into feature atoms (#6234)
* feat: refactor table store into feature atoms

* get rid of stupid proxies because optional chaining isn't bad

* fix some legacy table stuff and update migrating guide

* subscribe with atoms refactor

* fixed vue table types

* fix more subscribe types

* simplify atom and store construction more
2026-04-21 18:01:14 -05:00
Riccardo Perra
62c98536ec
fix(angular): Fix angular createTableHook types and migrate all examples (#6150)
* chore(angular): cleanup and migrate basic example with new angular coding style guide

* chore(angular): cleanup and migrate basic-app-table example with new angular coding style guide

* chore(angular): cleanup and migrate column-ordering example with new angular coding style guide

* chore(angular): cleanup and migrate column-pinning example with new angular coding style guide

* chore(angular): cleanup and migrate column-pinning-sticky example with new angular coding style guide

* chore(angular): cleanup and migrate table-resizable-cell example with new angular coding style guide

* chore(angular): cleanup and migrate column-visibility example with new angular coding style guide

* chore(angular): cleanup and migrate editable-data example with new angular coding style guide

* chore(angular): cleanup and migrate expanding example with new angular coding style guide

* chore(angular): cleanup and migrate filters example with new angular coding style guide

* chore(angular): cleanup and migrate grouping example with new angular coding style guide

* chore(angular): cleanup and migrate remote-data example with new angular coding style guide

* chore(angular): cleanup and migrate row-dnd example with new angular coding style guide

* chore(angular): cleanup and migrate row-selection example with new angular coding style guide

* fix(angular): fix createTableHook injectAppTable return types

* chore: update prettier config for angular examples

* chore(angular): cleanup and migrate signal-input example with new angular coding style guide

* chore(angular): cleanup and migrate sub-components example with new angular coding style guide

* chore(angular): removed zone.js and fix typescript version

* ci: apply automated fixes

* chore(angular): add lint script

* ci: apply automated fixes

* add density plugin

* add density plugin

* ci: apply automated fixes

* fix angular examples package.json

* chore: fix angular examples dependency ranges

* lint(angular): fix unused exports

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-18 15:28:19 +01:00
riccardoperra
cf4d3c6472 feat(angular): removed tableHelper hook in favor of createTableHook 2026-01-17 20:31:41 +01:00
Riccardo Perra
889e83fa14
feat(angular): Add angular table composability (#6144)
* feat(angular): wip add table context and hook helpers

* ci: apply automated fixes

* update composable table example

* add some directives to provide table context

* remove lazyInit set property workaround

* ci: apply automated fixes

* fix garbage collection issues in angular

* fix: avoid creating computed cache for methods that need an object as an argument

* refactor toComputed, add some tests

* refactor(injectTable): improve type definitions and enhance reactivity in table subscription

* refactor(reactivity): enhance memoization and improve reactivity checks

* add table cell contexts

* cleanup

* fixes some examples

* refactor flexRender to work with signals

* refactor flexRender implementation to work with signals, add FlexRenderCell docs

* cleanup examples

* cleanup structure

* table state selector fix for angular

* basic app table example

* code review fixes

* flex render run content(props) in injection context

* createTableHook add typed helpers

* refactor composable table examples with products/users table components, add missing header/table components

* ci: apply automated fixes

* refactor table components to use inject functions and update documentation

* ci: apply automated fixes

* fix: update comment to reflect usage of injectTable hook in app.component.ts

* fix: update documentation for injectFlexRenderCellContext to clarify cell-level typings

* fix: update RowActionsCell to use typed injectTableCellContext with Person type

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-13 08:53:38 -06:00
Kevin Van Cott
62af4f4f55
feat: rewrite tanstack table with tanstack store (#6143)
* progress on rewriting tanstack table with tanstack store

* poc for new solid table adapter

* fix solid examples

* remove temp

* fix header groups bug

* refactor assignAPIs

* svelte somewhat working

* feat: move row, cell, headers, and column methods to the prototype save tons of memory

* update vue adapter and examples

* more vue stuff

* update angular table kind of

* lit adapter refactor

* fix(angular): update test config and added missing injector context

* injector context is now needed since we use injectStore

* update some unit tests and fix sherif

* fix some more tests - angular focussed

* update experimental virtualized examples

* fix linting and react/preact adapters

* disable all but react and preact and table-core for now

* fix some shadcn issues

* css

* test react/preact example tsc

* fix a lot of react examples

* omg I fixed a tvalue column helper issue!

* add tanstack forma example

* small make state updater type fix even though it might be removed soon

* Use baseStore and derived store to allow external state again

* rename a bunch of examples

* fix example names

* feat(angular): improvements to angularReactivityFeature (#5921)

* fix array types and imports

* toComputed return a named function, add more granular flags

* remove table proxy implementation, improve angular reactivity feature

* wip: add flex render custom notifier when table state change

* ci: apply automated fixes

* wip: angularReactivityFeature replace _rootNotifier with get

* ci: apply automated fixes

* wip: some renames, types improvements and test cases

- rename `_setRootNotifier` to `_setTableNotifier`
- add strict typings to `toComputed`
- add test case for reactivity utils

* ci: apply automated fixes

* wip: fix types, add reactive symbol to detect whether a property is reactive

* wip: setup benchmark test

* wip: skipBaseProperties skip properties that ends with Handler

* wip: skipBaseProperties skip properties that ends with Handler, pass skip custom fn from table options

* align base branch, fix lazy init

* fix table helper types

* cleanup lazy signal initializer

* table reactivity feature cleanup

* flex render cleanup and export FlexRender as directive

* refactor injectTable to work with tanstack store reactivity

* fix injectTable test

* fix test utils test

* refactor reactivity handling in angular features and improve prototype assignments

* fix row-dnd tsconfig

* fix test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* chore(angular): using signals into flexRender to avoid re-rendering

* feat(angular): flex-render switch to 'tableChange' notifier mode for performance improvements

* feat: createTableHook

* more createTableHook flex render improvements and fixed some tests

* fix other table-core tests

* fix more lint errors in react examples

* fix preact typeconfig issues in examples

* ci: apply automated fixes

* fix knip, disable preact-table publishing for now

---------

Co-authored-by: riccardoperra <riccardo.perra@icloud.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-07 22:00:45 -06:00
Kevin Van Cott
1820d178a3 remove old kitchen sink example 2025-01-03 00:07:41 -06:00
Riccardo Perra
fa3149197f
chore(angular-table): Update all angular 19 examples (#5842)
* update angular

* update examples

* update column visibility example

* update grouping example

* update row selection

* update signal input example

* Removed unused modules

* fix grouping example

* format code

* fix lint
2024-12-21 07:18:58 -06:00
Kevin Van Cott
bc69a07068 update examples to pass fns new way 2024-12-15 22:08:30 -06:00
Riccardo Perra
9e8029fa85
feat(angular-table): Improve proxy signal implementation for v9 - Maybe also v8 (#5816)
* angular v19 table adapter

* angular v19 table adapter

* add angular table helper

* wip: fix proxy build

* eslint

* fix basic example

* table selection fix

* wip reactivity feature

* wip reactivity feature

* fix

* update with reactivity feat

* change

* improve proxy impl

* fix examples

* fix test
add test typecheck
improve test
fixes
fix
flex render experimental reactivity
improve test, fix reactivity toComputed
enable experimental reactivity
fix grouping example
fix some examples

* fix types

* angular v19 table adapter

* angular v19 table adapter

* angular v19 table adapter
2024-11-25 11:09:01 -06:00
Kevin Van Cott
bcb4c786d2 clean up extra noinfer, angular examples 2024-11-24 20:34:32 -06:00
Riccardo Perra
525fbcb560
feat(angular-table): Support Tanstack v9 alpha and Angular 19, fix examples (#5817)
* angular v19 table adapter

* angular v19 table adapter

* fix types
2024-11-24 14:41:01 -06:00
Lachlan Collins
96c9a32e47
chore: Add missing TFeatures argument (#5664) 2024-07-17 19:17:14 +10:00
Lachlan Collins
04563a7d3d
chore: Fix broken imports (#5656)
* chore: Fix broken imports

* Fix broken imports in tests
2024-07-12 03:11:03 +10:00
Kevin Van Cott
bec8968bc7
chore: _rowModels refactor (#5649)
* start row model refactor to be like feature options

* update some examples

* update react examples with new row models
2024-07-09 08:05:13 -05:00
Kevin Van Cott
69ffb37be1 chore: run lint fix on examples 2024-07-06 22:04:24 -05:00
Kevin Van Cott
1d035e5e06 chore: refactor some static function calls 2024-07-06 21:18:34 -05:00
Kevin Vandy
773bab4a03 chore: use same prettier config as query 2024-07-06 15:12:26 -05:00
Kevin Van Cott
ab2b4913f4
feat: follow other tanstack naming conventions (#5615) 2024-06-19 20:00:47 -05:00
Kevin Van Cott
91f4360faf
feat: Angular adapter for TanStack Table (#5326) (#5432)
* feat(angular-table): adds Angular adapter for tanstack/table (#5326)

* Angular adapter for tanstack table initial

* build with: ng packagr

* Add angular examples basic grouping

* Add angular examples basic grouping

* Update angular examples basic grouping

* Add angular example selection

* regen lock file

* package upgrades, angular table docs

* prettier

* move around some deps

* removed unused dependency from angular package

* fix deps

---------

Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>

* docs config cleanup

* feat: signal angular table adapter implementation

* update demo

* feat: table proxy detect memoized fns

* fix proxy property returning value

* feat: improve naming

* save new reference of table signal on every update

* computed trap proxy for fns with 1 argument

* update pnpm-lock.yaml

* refactor proxy implementation

* fix dependencies

* cleanup imports

* refactor basic example

* fix build

* run prettier

* add grouping example, fix ci

* add grouping example, fix ci

* add row selection example

* add column visibility example

* update examples add signal input required example

* improve angular table impl, fix flex-render change detection issues

* fix build

* feat(angular-table): improve adapter implementation (#5524)

* feat(angular-table): support render dynamic components and templateRefs in table

* update row selection example using dynamic rendered components

* support change detection on push with flex render

* add column ordering example

* fix flexRender change detection issues

* rename properties

* fix prettier and adjust example budget options

* update basic example

* add again support for table signal

* add column-pinning example

* add column pinning example

* add filters example

* cleanup code

* example cleanup

* update lock file

* feat(angular-table): added injector optional parameter for more flexibility (#5525)

* feat(angular-table): improve adapter implementation (TanStack#5524)

* Added optional injector for more flexibility
* Replace runInInjectionContext with injector in effect

* feat(angular-table): Added proxifyTable back

* feat(angular-table): adding back notifier signal for table changed

* feat(angular-table): Improve logic in setting table options
*set table options inside computed before returning the table instance
*remove redundant signals and effect
*remove injector as it no longer required
*update Grouping example to show how to pass signal when creating table

* update angular adapter and state docs

* prettier

* update docs config with angular examples

* update angular table state docs (#5545)

* Angular examples and dependencies improvements (#5546)

* tslib should be a dependency, see:

https://angular.io/guide/angular-package-format#tslib

* ensure angular examples are run as web container on code sandbox

* update lock file

---------

Co-authored-by: Kevin Vandy <kevinvandy656@gmail.com>

* docs(angular-table): Add documentation for FlexRenderDirective (#5543)

* add flexRender documentation

* fix docs

* fix rendering component section heading

* remove double build package.json from angular build

* update link name

* docs pass

* update esm exports in package.json

* update flexrender types

---------

Co-authored-by: jrgokavalsa <86955546+jrgokavalsa@users.noreply.github.com>
Co-authored-by: riccardoperra <riccardo.perra@icloud.com>
Co-authored-by: Riccardo Perra <perrariccardo0@gmail.com>
Co-authored-by: mamerto-g <merto.20@gmail.com>
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2024-05-12 14:19:51 -05:00