Skip to content

Datatable behaving weirdly #37

@comfysquirrel

Description

@comfysquirrel
  • When items based on fileList are refreshed, it does not show up, unless the state object was initialized with one item, and one item is refreshed from fileList. Any other number of items does not change the datatable.
  • It seems when logging the datatable's update event that the actual data in the table has not changed, even if it visually shows up in the datatable's DOM. Doing any sorting or searching in the datatable will revert it back to the original initialized example value.
  • Setting the state using a new array not based on fileList does not cause this problem.
  • Maybe this has to do with the async nature of extracting the files from zip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions