Open alejo-acevedo-deel opened 1 year ago
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.
io.display.table('Users', { getData: fetchUsers }),
fetchUsers() is not called
fetchUsers()
getData prop should be called each time the table is being rendered
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
fetchUsers()
is not calledSolution
getData prop should be called each time the table is being rendered