Show seperation line between columns when column resizing in kendo-grid using Material theme

1 Answer 1071 Views
Grid Styling
Randy
Top achievements
Rank 1
Veteran
Randy asked on 06 Aug 2021, 09:08 AM

Hi,

When using Material theme with kendo grid, there's no border between columns. When doing column resizing, only column header has a resizer vertical line showing. Is it possible to also show a separation line between normal column cells when resizing columns? How to customize css to achieve this?

Thanks,

Randy

1 Answer, 1 is accepted

Sort by
0
Accepted
Svet
Telerik team
answered on 11 Aug 2021, 07:40 AM

Hi Randy,

What could be done is to show all the Grid cell borders when resizing using the following custom CSS:

      .k-grid.k-grid-column-resizing td {
        border-width: 0 1px 1px 1px;
      }

Please see the following example:

https://stackblitz.com/edit/angular-bix6eq?file=app/app.component.ts

I hope this helps.

However there isn't an approach that would allow to target only the cells of the currently resized column.

Regards,
Svet
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid Styling
Asked by
Randy
Top achievements
Rank 1
Veteran
Answers by
Svet
Telerik team
Share this question
or