Home > Web Front-end > HTML Tutorial > Kendo UI: CSS style setting for title in Grid_html/css_WEB-ITnose

Kendo UI: CSS style setting for title in Grid_html/css_WEB-ITnose

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

Question

How to set the title style of the Grid table?

Solution

Use the headerAttributes attribute setting. If there is a class attribute in css, you need to add double quotes "". For example,

{    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