Autodesk / Autodesk/react-base-table
unable to console first render values with onRowsRendered
- Lingua principale
- TypeScript
- Stelle
- 1.5k
- Fork
- 170
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Scrolling and printing values are fine but if I move on to another category in the sidebar and render new table from there. It's not printing values of it in the console.
```
onRowsRendered={extractDisplayedTask}
```
```
const extractDisplayedTask = (props) => {
const { startIndex, stopIndex } = props;
if (data.length > 0) {
console.log(data);
}
};
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the sidebar category change with the onRowsRendered={extractDisplayedTask} callback and inspect when the callback runs relative to the new table data. Confirm the issue is resolved when the first render of each newly selected category logs its displayed values, while scrolling continues to work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100