Skip to content

Commit e78f9b3

Browse files
kb(Grid): fix css selectors (#3019)
1 parent 58f0d87 commit e78f9b3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

knowledge-base/grid-conditional-cell-background.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,17 @@ If you want to change the default row and alternating row backgrounds to match y
197197
background-color: red;
198198
}
199199
200-
.custom-row-colors .k-grid-table .k-table-row.k-master-row:hover {
201-
background-color: pink;
202-
}
200+
.custom-row-colors .k-grid-table .k-table-row.k-master-row:hover {
201+
background-color: pink;
202+
}
203203
204-
.custom-row-colors .k-grid-table .k-master-row.k-alt {
205-
background-color: green;
206-
}
204+
.custom-row-colors .k-grid-table .k-table-alt-row {
205+
background-color: green;
206+
}
207207
208-
.custom-row-colors .k-grid-table .k-master-row.k-alt:hover {
209-
background-color: cyan;
210-
}
208+
.custom-row-colors .k-grid-table .k-table-row.k-table-alt-row:hover {
209+
background-color: cyan;
210+
}
211211
</style>
212212
213213
<TelerikGrid Data="@MyData" Height="400px" Class="custom-row-colors"

0 commit comments

Comments
 (0)