简体   繁体   English

使用Kendo Grid如何删除列边框?

[英]Using Kendo Grid How to remove the column Borders?

I'm using a Kendo UI Grid and by default I get column separator lines or a border line. 我使用的是Kendo UI网格,默认情况下,我会看到列分隔线或边框线。 (Vertical line down the column). (垂直于列向下)。 How do you remove them. 如何删除它们。

Mark-up: 加价:

<div class="grid">
    <h3>Current<span class="goal-count">15</span></h3>
</div>

Here is a link to a JSFiddle project: http://jsfiddle.net/mackry/RbmAz/ 这是JSFiddle项目的链接: http : //jsfiddle.net/mackry/RbmAz/

Any Suggestions? 有什么建议么?

Try defining the following style: 尝试定义以下样式:

.k-grid td {
     border-width: 0;
}

NOTE : Remember that this style is defined in KendoUI CSS so you should define this the very last. 注意 :请记住,此样式是在KendoUI CSS中定义的,因此您应该在最后定义此样式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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