Skip to content

[data grid] Format row count numbers in pagination #13222

@Janpot

Description

@Janpot

Summary

Live demo https://stackblitz.com/edit/react-jxqb4n?file=Demo.tsx

The pagination control looks like:

Screenshot 2024-05-23 at 14 58 46

Would it be possible to format these numbers? A thousands separator would make them more readable. In practice this is mostly going to be interesting for the total count, but once you start formatting, you may as well do it for all of these numbers.

Examples

Screenshot 2024-05-23 at 15 05 47

Motivation

No response

Search keywords: pagination format number

Metadata

Metadata

Assignees

Labels

feature: PaginationRelated to the data grid Pagination featurei18nInternationalization. The infrastructure used by localization.l10nLocalization.scope: data gridChanges related to the data grid.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions