简体   繁体   中英

How to delete border-bottom in kendo grid selected row

I have grid with kendo when i changed selected row background-color but when i selected row it has also shows me border-bottom as in image

剑道网格选择的行与边框底部

I want to delete that blue line.Also i tried the css like this but not worked.

.k-grid .k-state-selected tr {
    border-bottom: none;
}

How to solve this?

From looking at the Kendo Grid's page on grid selection, it looks like it is the row ( tr ) which has the class k-state-selected .

The above CSS selector that you've attempted to use says that the element you're trying to style is a tr tag that is an ancestor of the element with the class k-state-selected .

This is not true as the row itself is what has that class. You can fix it like so:

.k-grid tr.k-state-selected {
    border-bottom: none;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM