Skip to content

[docs] Added example of styling cells with note about not targeting empty cells #18201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wilcoschoneveld
Copy link

Follow-up for #18190

Copy link

github-actions bot commented Jun 3, 2025

Please add one type label to categorize the purpose of this PR appropriately:

bug, regression, enhancement, new feature, release or dependencies

@mui-bot
Copy link

mui-bot commented Jun 3, 2025

Deploy preview: https://deploy-preview-18201--material-ui-x.netlify.app/

Updated pages:

Bundle size report

Total Size Change: 0B(0.00%) - Total Gzip Change:${\tiny{\color{red}▲}}$+68B(0.00%)
Files: 120 total (0 added, 0 removed, 25 changed)

Show 25 more bundle changes

@mui/x-charts-proparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-charts-pro/BarChartProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+1B(0.00%)
@mui/x-charts-pro/ChartContainerProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-charts-pro/ChartDataProviderProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-charts-pro/Heatmapparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(0.00%)
@mui/x-charts-pro/LineChartProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-charts-pro/PieChartProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-charts-pro/ScatterChartProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+5B(+0.01%)
@mui/x-data-grid-premiumparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-data-grid-premium/DataGridPremiumparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(0.00%)
@mui/x-data-grid-proparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+4B(0.00%)
@mui/x-data-grid-pro/DataGridProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(0.00%)
@mui/x-date-pickers-proparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-date-pickers-pro/DateRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+5B(+0.01%)
@mui/x-date-pickers-pro/DateRangePickerDayparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(+0.03%)
@mui/x-date-pickers-pro/DateTimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+4B(+0.01%)
@mui/x-date-pickers-pro/DesktopDateRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(+0.01%)
@mui/x-date-pickers-pro/DesktopDateTimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(+0.01%)
@mui/x-date-pickers-pro/DesktopTimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(+0.01%)
@mui/x-date-pickers-pro/MobileDateRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-date-pickers-pro/MobileDateTimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+4B(+0.01%)
@mui/x-date-pickers-pro/MobileTimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-date-pickers-pro/StaticDateRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+3B(+0.01%)
@mui/x-date-pickers-pro/TimeRangePickerparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(0.00%)
@mui/x-tree-view-pro/RichTreeViewProparsed: 0B(0.00%) gzip:${\tiny{\color{red}▲}}$+2B(+0.01%)

Details of bundle changes

Generated by 🚫 dangerJS against c5cf625

@zannager zannager added docs Improvements or additions to the documentation scope: data grid Changes or issues related to the data grid product labels Jun 4, 2025
@zannager zannager requested a review from mapache-salvaje June 4, 2025 13:50
@wilcoschoneveld wilcoschoneveld force-pushed the docs-styling-cells-not-empty-cells branch from 5e475b8 to c775721 Compare June 6, 2025 15:36
@wilcoschoneveld wilcoschoneveld force-pushed the docs-styling-cells-not-empty-cells branch from 9ed94dd to 4658e88 Compare June 6, 2025 15:37
@wilcoschoneveld
Copy link
Author

@mapache-salvaje I have updated the text and demo to better indicate when you should exclude the emptyCell class from the styling selector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation scope: data grid Changes or issues related to the data grid product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants