New grid design-content rows aren`t response to CSS code.

1 Answer 75 Views
Grid Styling
Top achievements
Rank 1
Michael asked on 18 Apr 2023, 08:07 AM


I got a new project going on, which includes unique design.

I am using Telerik grid for Blazor for functionality but trying to change the contents look. 

I have managed to change the header row style like you can see above with the following code:


but the inside rows don't response to the CSS lines (except the background):

    .k-master-row, .k-table-alt-row{

So the question is - is it possible to add margin between the girds lines and furthermore add more style properties (specific to the grids content)? and if yes, could someone please provide an example for this?


thanks ahead,




1 Answer, 1 is accepted

Sort by
Telerik team
answered on 21 Apr 2023, 06:38 AM

Hi Michael,

Styling tables like that is tricky, but possible. Here is a runnable REPL example. The milestones are:

  • Custom white row and cell backgrounds will become visible if you remove the white background of elements behind the cells.
  • Space between rows can be added, but I don't see how to control it at cell level (e.g. the first and last cells on a row will have side "margin", which is not necessary)

I recommend the following documentation article, which is a must for every developer who wants to customize the appearance of our components: How to override theme styles.

Also, with complex customizations that may or may not be possible, you can experiment with a plain HTML table in order to verify if something is possible. When done, you can port the custom CSS to our Grid and find which theme styles to override.

Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Grid Styling
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question