EasyUI Forum
May 03, 2024, 08:16:40 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid - how can i set the global style of column header labels  (Read 5539 times)
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« on: June 10, 2014, 06:59:49 AM »

How can i set the global style of column labels. I found no CSS entry for this.
We will style the column labels in the header different from other datagrid styles.
All labels should be bold and the color blue.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: June 11, 2014, 01:24:59 AM »

Please try the code below:
Code:
<style>
    .datagrid-header .datagrid-cell{
        font-weight: bold;
        color: blue;
    }
</style>
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #2 on: June 12, 2014, 06:07:27 AM »

THX this is working
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!