Grouping by not using subRows
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- react, typescript
- Domaine
- frontend
Piste de recherche
Commencez par le CodeSandbox lié dans src/App.tsx autour de la ligne 62 et reproduisez les étapes de regroupement et de développement de tous les éléments. Suivez la manière dont le regroupement gère les lignes de premier niveau par rapport à subRows, puis comparez le résultat au comportement attendu « John (4) ». C’est terminé lorsque le comportement prévu est établi et que soit le regroupement inclut correctement subRows, soit la limitation et une solution de contournement fiable sont documentées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 28.5k
- Forks
- 3.6k
- Merge moyen
- 19 h 40 min
- PR mergées (30 j)
- 8
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TanStack/table
-
Issue template renders `react-table`, not `TanStack/table`Peut-être pris @vishruthasgowda l’a pris il y a 13 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
TanStack/table#6595 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
TanStack/table#6601 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Cast required to access custom options when defining a custom plugin/featurePeut-être pris @sorena-paydar l’a pris il y a 14 jours. Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
-
`aggregatedCell` not typed against bound `cellComponents` in `createAppColumnHelper`Peut-être pris @cpruijsen l’a pris il y a 24 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TanStack/table
Issues similaires
-
dx hacktoberfest help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
cloudflare/agents#2498 ·
Les mainteneurs répondent en général sous 1 jour
-
Missing repro Platform: Android
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
software-mansion/react-native-reanimated#10816 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
e2e-failure ready-to-code
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
redhat-developer/rhdh-plugin-export-overlays#4129 ·
Les mainteneurs répondent en général sous 1 jour