Im using kendo grid angular and want to change every row of grid border when hover/focus to it
1 Answer, 1 is accepted
0
Accepted
Kaloyan
Telerik team
answered on 10 Aug 2022, 11:53 AM
Hello lahiru,
To change the border of a grid row on hover you will need to apply some custom CSS that will select the first cell, the last cell and all cells in between of the targeted row. Here is the CSS I used for this:
The idea is to apply top and bottom border to all cells and left and right border to the first and last cells.
Additionally, I am not entirely sure how this should behave on focus instead of hover. This is mainly because the grid component doesn't have row focus out of the box and achieving such functionality might prove cumbersome. If by focus you mean on select, then the logic is similar as above, with the only difference that you use the k-selected class: