Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/api/features/expanding.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ Returns whether the row can be expanded.
getToggleExpandedHandler: () => () => void
```

Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to an event handler to a button.
Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to an event handler to a button.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to an event handler to a button.
Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to an event handler of a button.


If the row does not have subrows, it cannot be expanded. In that case, the returned function will do nothing, and the expanded state of the row will remain unchanged.

## Table Options

Expand Down
2 changes: 1 addition & 1 deletion examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"bootstrap": "^5.2.3",
"react": "^18.2.0",
"react-bootstrap": "2.6.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-sizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/editable-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/expanding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/match-sorter-utils": "8.7.6",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/full-width-resizable-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/full-width-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/fully-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/grouping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@tanstack/match-sorter-utils": "8.7.6",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/mui-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.8.6",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/pagination-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/row-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/row-selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/sub-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/virtualized-infinite-scrolling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-query": "4.16.1",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-virtual": "^2.10.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/virtualized-rows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.2",
"@tanstack/react-table": "8.9.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-virtual": "^2.10.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"vite-plugin-solid": "^2.2.6"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"solid-js": "^1.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/solid/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"vite-plugin-solid": "^2.4.0"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"bootstrap": "^5.2.2",
"solid-bootstrap": "^1.0.8",
"solid-js": "^1.6.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"vite-plugin-solid": "^2.2.6"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"solid-js": "^1.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/solid/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"vite-plugin-solid": "^2.2.6"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"solid-js": "^1.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/solid/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"vite-plugin-solid": "^2.2.6"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"solid-js": "^1.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/solid/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"vite-plugin-solid": "^2.2.6"
},
"dependencies": {
"@tanstack/solid-table": "8.9.2",
"@tanstack/solid-table": "8.9.3",
"solid-js": "^1.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@faker-js/faker": "^7.6.0",
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@faker-js/faker": "^7.6.0",
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@faker-js/faker": "^7.6.0",
"@rollup/plugin-replace": "^5.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.42",
"@tanstack/svelte-table": "8.9.2",
"@tanstack/svelte-table": "8.9.4",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"vue": "^3.2.33",
"@tanstack/vue-table": "8.9.2"
"@tanstack/vue-table": "8.9.3"
},
"devDependencies": {
"@types/node": "^16.11.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@faker-js/faker": "^7.6.0",
"vue": "^3.2.33",
"@tanstack/vue-table": "8.9.2"
"@tanstack/vue-table": "8.9.3"
},
"devDependencies": {
"@types/node": "^16.11.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/vue-table": "8.9.2",
"@tanstack/vue-table": "8.9.3",
"vue": "^3.2.33"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/pagination-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@faker-js/faker": "^7.6.0",
"vue": "^3.2.33",
"@tanstack/vue-table": "8.9.2"
"@tanstack/vue-table": "8.9.3"
},
"devDependencies": {
"@types/node": "^16.11.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"vue": "^3.2.33",
"@faker-js/faker": "^7.6.0",
"@tanstack/vue-table": "8.9.2"
"@tanstack/vue-table": "8.9.3"
},
"devDependencies": {
"@types/node": "^16.11.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/sorting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@faker-js/faker": "^7.6.0",
"vue": "^3.2.33",
"@tanstack/vue-table": "8.9.2"
"@tanstack/vue-table": "8.9.3"
},
"devDependencies": {
"@types/node": "^16.11.27",
Expand Down
Loading