Kendo UI:Grid中标题css样式设置_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:53:18
Original
1734 people have browsed it

问题

Grid表格的标题样式怎么设置?

解决方案

使用headerAttributes属性设置,如果有css中class属性,需要加双引号””.如

{    field: "name",    headerAttributes: {      "class": "table-header-cell",      style: "text-align: right; font-size: 14px"    }  }
Copy after login


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!