Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: How do I change the color of a grid column header?

  1. #21
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    126
    Answers
    7
    Vote Rating
    11
      0  

    Default

    strange..why its not working with Grey Theme
    Other themes are okay with it

    https://fiddle.sencha.com/#fiddle/v8j&view/editor
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. #22
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    126
    Answers
    7
    Vote Rating
    11
      0  

    Default

    Quote Originally Posted by SurenderBhyan1 View Post
    strange..why its not working with Grey Theme
    Other themes are okay with it

    https://fiddle.sencha.com/#fiddle/v8j&view/editor

    Found workaround for this, need to add below css too

    background-image: none; for both section

    Code:
    <style>
        .x-column-header.red {
            background-color: red;
            background-image: none;
        }
        
        .x-column-header.red .x-column-header-over,
        .x-column-header.red .x-column-header-sort-ASC,
        .x-column-header.red .x-column-header-sort-DESC {
            background-color: pink;
            background-image: none;
        }
    
    
    </style>
    ---A ship in the harbor is safe, but that is not what the ships are made for...

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 4
    Last Post: 6 Aug 2014, 5:34 PM
  2. Replies: 1
    Last Post: 13 May 2013, 9:37 AM
  3. change the header color for a grid
    By emmadi in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 16 Dec 2008, 8:50 PM
  4. [Solved]change column color of single row(grid column names row)
    By amey7p in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 14 Feb 2008, 3:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •