我创建一个剑道网格。剑道网格使用默认的白色或灰白色,我想将整个背景区域白色e更改为透明。我尝试了很多事情,但没有得到实际结果。谢谢You can see image now is background color is white but i want to change transparent color
您需要覆盖.k-grid
,.k-grid-content
和.tr.k-alt
的样式。
<style>
body {
background-color: lightgreen;
}
#grid.k-grid, #grid.k-grid div.k-grid-content {
background: transparent;
}
#grid.k-grid tr.k-alt {
background: transparent;
}
</style>