Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

TreeTable: onValueChange doesn't retrieve the initial data when removableSort is passed

Aperta
#8,485 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, react
Ambito
frontend

Direzione di ricerca

Inizia con il riproduttore StackBlitz collegato che utilizza PrimeReact 10.9.7 e traccia il comportamento di TreeTable relativo a removableSort e onValueChange. Riproduci il terzo ordinamento o il ripristino, quindi verifica che le righe ricevute da onValueChange rimangano nello stesso ordine delle righe visualizzate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Status: Needs Triage
Describe the bug

When the sort is reset, the onValueChange retrieves a wrong value.

Reproducer

https://stackblitz.com/edit/i3yupjwe-5ivzjcju?file=src%2FApp.jsx

System Information
primereact: 10.9.7
Steps to reproduce the behavior
  1. Sort the name column

The retrieved value is good ✅

Image
  1. Re-sort the name column

The retrieved value is good ✅

Image
  1. Re-sort the name column

The retrieved rows are not in the same order as the displayed rows.

Image
Expected behavior

The retrieved rows should always have the same order as the displayed rows.

Lingua principale
CSS
Stelle
8.3k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di primefaces/primereact

Tutte le issue di primefaces/primereact

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.