Skip to content

Datagrid pagination doesn't handle an empty dataset #3986

@markhigham

Description

@markhigham

Steps to reproduce

  1. Create a datagrid with pagination enabled and use an empty array as datasource
  2. e.g. https://storybook.design-system.navy.digital.mod.uk/?path=/story/components-data-grid--paginated and delete the data property

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: react-component-libraryPackage/code typeSize: SmallAssessed as small taskStatus: StaleIssue with no activity for the past 60 daysType: BugInconsistencies or issues which have caused a problem for users or implementors

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions