TanStack

T

TanStack

TanStack is a community of passionate software engineers striving for high-quality, open-source software for web devs

Join

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

harsh-harlequin
harsh-harlequin2/2/2024

Get state on cell object

Hi Is there a way to get specific state declared inside useReactTable() from cell object ? currently i have only access to CellContect...
fair-rose
fair-rose1/31/2024

I want to know more about the logic that automatically filters

I am understanding the functions to use the react-table I want to know which function is built-in and which function should be customized first. Where can I see the standard operation of FilterValue, which is assumed to be basically in the column ...
genetic-orange
genetic-orange1/30/2024

[Solved] No rows rendered via testing-library/react

``` mantine-react-table 2.0.0-alpha.11 ā”œā”€ā”€ @tanstack/match-sorter-utils 8.11.3 ā”œā”€ā”€ @tanstack/react-table 8.11.6 ā”œā”€ā”€ @tanstack/react-virtual 3.0.2...
genetic-orange
genetic-orange1/29/2024

Dynamic Table Component

Folks, is it possible to create a dynamic component where I'd just send the props needed? I think I'm stuck on Typescript more than the table itself but might be a limitation there? Maybe something as the screenshots? It will be easier to understand I've got like 4-5 places where we'll be using the table and I wanted to keep most of the functionality and styles, but changing the data only. Also, I'm open to any suggestions...
No description
ratty-blush
ratty-blush1/29/2024

StripedRows

Hello everyone, I was wondering if there is a css class or something to add stripedRows style on the table? every even rows are white and odd ones are grey? Thanks a lot!
flat-fuchsia
flat-fuchsia1/29/2024

Search with manual pagination and filtering

Hello I have datatable component that i use to render my data. Most of things are handle manually. I use Tanstack Query to fetch the tableData. I have a search state that i pass down to my table and i have two problems: 1. When i search i want to reset the pageIndex to 0. When doing this a re-render happen for every keypress. Also when doing this an extra request occurs for pageIndex = 0. 2. When typing (searching) the table components re-renders for every keystroke as the search value (prop) is changing. ...
other-emerald
other-emerald1/27/2024

Remove NaN columns

How can do I conditional hide a column with the columnhelper? Like for example if all values in a column is nan, null and undefined, then hide the column
afraid-scarlet
afraid-scarlet1/25/2024

Help with CSS for resizing columns

edit: repro: https://stackblitz.com/edit/tanstack-table-7djbwc?file=src/main.tsx Anyone mind taking a look With this resize in SS #2 you can see the columns sizes are off. The internals are { actions: 1165, firstName: 0, nickName: 817 } but you can see firstName is not the 60px width....
No description
vicious-gold
vicious-gold1/23/2024

Custom GetFacetedRowModel/getFacetedUniqueValues

Hey TanStack champs, I have a table that has objects as cell values ( eg. url to render Avatars) because i have not only string/numbers, my js-objects are not correctly recognized as unique (enclosed screenshot of the facets, from (const facets = column?.getFacetedUniqueValues())) ...
unwilling-turquoise
unwilling-turquoise1/23/2024

Column Resizing: Header Width Not Matching in Browser

Hey everyone! šŸ‘‹ I'm currently facing a bit of a challenge with react-table and was hoping to get some insights. I'm encountering an issue where the widths I've set for my table headers in react-table aren't matching up with what's actually being rendered in the browser. It's a bit perplexing, and I've been scratching my head trying to figure out what might be causing this. ...
conscious-sapphire
conscious-sapphire1/22/2024

I cannot underline the rows of this table after some indentation

I underlined the entire header of the table with a line, but I cannot underline the rows of this table after some indentation (as shown in the photo). Please help me solve this problem
No description
foreign-sapphire
foreign-sapphire1/21/2024

Angular adapater need help

Hey all, I have created some examples in angular using tanstack, you can check at https://jrgokavalsa.github.io/angular-tanstack-table/ and need some help in PR for angular
adverse-sapphire
adverse-sapphire1/20/2024

Getting column filter initial state

So I currently have this config for my table (which is its own component): ``` export const DataTable = <TData, TValue>({ data, columns,...
deep-jade
deep-jade1/19/2024

order of selected items

Hello, how can i get the order of selected items?
typical-coral
typical-coral1/18/2024

Access types of the cell value

First time really taking a look at tanstack table. I'm trying to get off of muix-data-table potentially to use some of the (should be free features) like row pinning etc. Currently have a semi working table in my react app working with data the looks like this ```js export interface TransformedTableRow {...
ambitious-aqua
ambitious-aqua1/18/2024

Migrating to v5

In my project, I'm needing to point to SystemJs or UMD min file in my project, but I'm not able to find it. I tried /build/modern/index.js, but wasn't sure if that's correct.
metropolitan-bronze
metropolitan-bronze1/15/2024

Column Visibility Type issue

Hi all, I have this table which I can set the column visibility. However, I can't fix the ColumnDef type for this specific table. I was wondering if you can help me here:...
flat-fuchsia
flat-fuchsia1/10/2024

Simple table issues

Hi all I'm having a terrible go at creating a table. I have a data model that looks like ```json { id: 'eb4a87e1-a55b-49c3-97b9-72efaae0c868',...