File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,18 +58,18 @@ You can use a particular column's [cell template]({%slug grid-templates-column%}
5858```` CSHTML
5959<style>
6060 /* remove the default cell padding to remove traces of the original background */
61- .k-grid-table td {
61+ .k-grid-table .k-table- td {
6262 padding: 0;
6363 /*height: 40px;*/ /*you may want to set height to the cells so the height:100% to the child div works better*/
6464 }
6565
66- .k-grid-table td .cell-padding {
66+ .k-grid-table .k-table- td .cell-padding {
6767 height: 100%;
6868 padding: 5px; /* apply the desired cell padding here */
6969 }
7070
7171 /* the custom background - in this example, on every third element*/
72- .k-grid-table td .special-background {
72+ .k-grid-table .k-table- td .special-background {
7373 background: yellow;
7474 }
7575</style>
You can’t perform that action at this time.
0 commit comments