Skip to content

paginatedDataTable showing empty rows at the end if rowCount is less than rowsPerPage #80421

@s3dibrahim

Description

@s3dibrahim

Steps to Reproduce

Go to the following DartPad:
https://dartpad.dev/embed-flutter.html?gh_owner=material-components&gh_repo=material-components-flutter&gh_path=docs/components/dartpad/data_tables/normal&gh_ref=develop

Remove 2 rows (line # 63 & 64):

_Row('Cell A3', 'CellB3', 'CellC3', 3),
_Row('Cell A4', 'CellB4', 'CellC4', 4),

Expected results:
There should be no empty rows at the end!
Actual results:
Screen Shot 2021-04-14 at 3 10 27 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    f: material designflutter/packages/flutter/material repository.found in release: 2.0Found to occur in 2.0found in release: 2.1Found to occur in 2.1frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions