react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
Tips on typing ColumnDef for a table with expandable rows
Parent
and the child rows Parent['children'][number]
. They will both display their name in the name column but each type uses a different key for that data. Also, most of the columns will be dedicated to child row data.
Unfortunately, typing the columns like ColumnDef<Parent>
results in TS assuming every row implements the Parent
type. Does anyone have a good idea for this besides massaging the data and using a discriminated union?...Will invertSorting work for server-side sorting (manualSorting : true)
invertSorting
work for server-side sorting (manualSorting : true
)Row Selection not reactive
Is there any theming or styling system to just plugin some existing styling?
Styling thead and tbody depending on groups
Dynamic getGroupingValue - trigger re-grouping
Aggregating on subRows
How to disable sort on subRows?
Drag n Dropping Grouped Table Headers
Why tanstack-table doesn't follow rules of React? What is the best practice around it?
Rendering cells that include input - v7 to v8 migration
useReactTable
, and I've migrated the columns and the markup and everything that's needed, and it works well for the most part.
I did everything according to the migration manual....Unreactive sorting
computedRef
in my case), but the sorting function is only based on the row object changing....generic column cell helper function
is @tanstack/react-virtual necessary to build a table in CRA environment?
Global filter function not being invoked
Possible to get custom/dynamic cell data in the sortingFn?
cell
render function.
Is is possible to grab the value that's actually rendered, and sort based on that? Right now it's only filtering based on the value from the column accessor, and I need it to sort based on the text that's actually rendered....Grouping data but keeping select column first
Table internal state vs external state
Anybody having issues with getting the header to stick?
TableHeader
won't stick even though the table has a height to it. Getting confused. Been trying a bunch of different stuff.
```js
<ScrollArea
className="h-full"...