Skip to content

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

Description

@0xAaCE

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions