Background color of the footer row in DataGrid is problematic #560

Closed
opened 2026-01-29 17:39:21 +00:00 by claunia · 0 comments
Owner

Originally created by @OndrejUzovic on GitHub (Sep 29, 2022).

The background color of the footer row in DataGrid is set by the variable --rz-grid-stripe-background-color.

It is the same variable as is used for odd data rows. Therefore if the data grid has odd number of rows the footer has the same background color as the last row in the grid which looks strange and which is a different (breaking) behavior than before version 4.0.

The problem seems to be that variable --rz-grid-foot-background-color is overridden by --rz-grid-stripe-background-color.

image

Originally created by @OndrejUzovic on GitHub (Sep 29, 2022). The background color of the footer row in DataGrid is set by the variable `--rz-grid-stripe-background-color`. It is the same variable as is used for odd data rows. Therefore if the data grid has odd number of rows the footer has the same background color as the last row in the grid which looks strange and which is a different (breaking) behavior than before version 4.0. The problem seems to be that variable `--rz-grid-foot-background-color` is overridden by `--rz-grid-stripe-background-color`. ![image](https://user-images.githubusercontent.com/55758368/192997599-33711bfb-3c8b-4ac9-9a08-8951808975fb.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#560