Autodesk / Autodesk/react-base-table

unable to console first render values with onRowsRendered

Ouverte
#361 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
1.5k
Forks
170
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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);
}
};
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.