Fixed height for RadzenDataGrid, last record border-bottom

Hello,

In my Blazor application I want to have a fixed height for the RadzenDataGrid, in case I do not have enough records to fill the whole height, the last record does not have a bottom border. Is there a solution for this?

Thank you in advance for your help.

Hi @M_K,

You can use the following style to add the bottom border to the last row:

.rz-grid-table tr:last-child > td {
    border-bottom: var(--rz-grid-bottom-cell-border);
}
1 Like

Have in mind that you will see double border when you scroll to the bottom of the grid if you add it via the CSS that @yordanov suggested. This is the reason the last record doesn't have a border by default.

2 Likes

@yordanov It works. Thank you for the solution.

@korchev I have taken note of this :slight_smile: