EasyUI Forum
September 14, 2025, 08:25:18 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Treegrid - Not able to highlight/select a row with background color on: April 20, 2012, 02:37:53 AM
Thanks much stworthy
2  General Category / EasyUI for jQuery / Treegrid - Not able to highlight/select a row with background color on: April 19, 2012, 09:51:07 PM
I am not able to select/highlight a treegrid row which has background color.

I am setting the background color of a row through rowStyler option.

                     
Code:
    rowStyler:function(row){
        if(row['type'] == 'A'){
            return 'background-color:#C6FFC6;color:blue;';
        }
        else if(row['type'] == 'B'){
return 'background-color:#F7CFB5;color:blue;';
        }
    }
I also tried using the styler option in the column<th> still it did not work.
Any solution for this?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!