是否有方法可以更改此控件的所有背景颜色。样式属性有大约50个可以更改的部分,虽然我认为我已经全部更改了,但我仍然有一些具有默认颜色的部分。
有没有办法让ASPxGridView有一种特定的颜色,例如,我需要它全部是蓝色的。
发布于 2015-11-28 23:13:46
我有一个类似的问题,我想格式化DEVX网格,以匹配我的网站的引导主题。
Here is what I came up with at this link.发布在下面..
<style>
table
{
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
font-size: 14px !important;
color: #262626 !important;
}
tr:nth-child(even) {background: #EEEEEE}
.dxgvDataRow_DevEx:hover { background-color: #C0E0FF; }
</style>
<script>
$(function () {
var Grid = $(".dxgvTable_DevEx");
Grid.attr('style', "min-width:300px;max-width:750px;");
});
</script>https://stackoverflow.com/questions/16503976
复制相似问题