Autodesk / Autodesk/react-base-table
unable to console first render values with onRowsRendered
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.5k
- Forks
- 170
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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);
}
};
```
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100