Table's getData prop is not called at the begining
Opened this issue · 0 comments
alejo-acevedo-deel commented
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