Grouping by not using subRows
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Inizia dal CodeSandbox collegato in src/App.tsx intorno alla riga 62 e riproduci i passaggi per il raggruppamento e l'espansione completa. Traccia il modo in cui il raggruppamento gestisce le righe di primo livello rispetto a subRows e confronta il risultato con il comportamento previsto “John (4)”. Il lavoro è completato quando il comportamento previsto è stato stabilito e il raggruppamento include correttamente subRows oppure sono documentati il limite e un workaround affidabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
TanStack Table version
8.17.3
Framework/Library version
React v18.2.0
Describe the bug and the steps to reproduce it
Not sure if a bug of if it's intended behavior but the grouping feature doesn't seem to look at values in subRows.
Please check the codesandbox below. I'd expect to have "John (4)", and to actually have all rows and subRows grouped by firstName but only the top-level rows are grouped by firstName.
If this is intended behavior, a consequence is that firstName in the subRows is empty and misleading (e.g. "John Hey" shows up under "James" but only "Hey" is visible). Still, in case this is still intended behavior, how could this be avoided so the table groups by a column in all rows and subRows?
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
On the sandbox below, click on the "First Name" group icon first, and then on the button "Toggle expand all" button below the table. This way we ensure the table is grouped by firstName and all rows are expanded.
https://codesandbox.io/p/sandbox/sharp-meninsky-766zsz?file=%2Fsrc%2FApp.tsx%3A62%2C26
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
- Lingua principale
- TypeScript
- Stelle
- 28.5k
- Fork
- 3.6k
- Merge medio
- 1g 3h
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TanStack/table
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
TanStack/table#6601 · 5 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Cast required to access custom options when defining a custom plugin/featureForse già presa @sorena-paydar l’ha presa 21 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
`aggregatedCell` not typed against bound `cellComponents` in `createAppColumnHelper`Forse già presa @cpruijsen l’ha presa 32 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
TanStack/table#6577 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Leaf rows are not calculated correctlyForse già presa @sarathkumarsasi l’ha presa 46 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
TanStack/table#6573 · 4 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TanStack/table
Issue simili
-
ui(ListToolbar): search takes the full row on a phone instead of sharing it with the result countAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
priority:high
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
immich-app/immich#32426 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue hacktoberfest help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
libredb/libredb-studio#1756 ·
I maintainer di solito rispondono entro 1 giorno