EasyUI Forum
May 01, 2024, 06:33:22 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: 1.3.2 treegrid styler function  (Read 12533 times)
mzeddd
Full Member
***
Posts: 223



View Profile
« on: January 10, 2013, 10:40:05 AM »

It seems like styler is not working in 1.3.2

I have the following column description which gives me bold and centered test in v1.3.1
Code:
{field:'tcState',title:'State',width:50,hidden:false,
    styler:function(value,row,index){ return 'font-weight:bold;text-align:center'; }
}

But in 1.3.2 it gives me only centered text but not bold

Any ideas?

Thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 10, 2013, 12:37:18 PM »

Please include the 'view-fix.js' file to solve this issue. This file fix and extend the styler functionality that supports any css styles.
Code:
	<script type="text/javascript" src="../../jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../view-fix.js"></script>
Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #2 on: January 11, 2013, 12:43:22 AM »

Yes, it helps.

Thanks stworthy!
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!