Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table's getData prop is not called at the begining #23

Open
alejo-acevedo-deel opened this issue Jan 10, 2023 · 0 comments
Open

Table's getData prop is not called at the begining #23

alejo-acevedo-deel opened this issue Jan 10, 2023 · 0 comments
Labels
difficulty-reproducing Unable to reproduce thus far

Comments

@alejo-acevedo-deel
Copy link

I am using getData prop of the Table component to fetch data dynamically. However, it has a random behaviour and many times it is not called when the table is being rendered so it has not any data to show.

Example

  io.display.table('Users', {
    getData: fetchUsers
  }),

fetchUsers() is not called

Solution

getData prop should be called each time the table is being rendered

@jacobmischka jacobmischka added the difficulty-reproducing Unable to reproduce thus far label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-reproducing Unable to reproduce thus far
Projects
None yet
Development

No branches or pull requests

2 participants