EasyUI Forum
May 03, 2024, 09:59:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: GridColumn cellCss not taking effect  (Read 4381 times)
chrwei
Full Member
***
Posts: 219


View Profile Email
« on: September 16, 2019, 02:37:05 PM »

the style ends up on the <td>, but there's a <div class="datagrid-cell"> inside that and the td's style does not override anything in the datagrid-cell class.  specifically, font-size and word-wrap.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: September 16, 2019, 06:48:18 PM »

You can format the cell content with any styles, please look at this example.

https://www.jeasyui.com/demo-react/main/index.php?plugin=DataGrid&theme=material-teal&dir=ltr&pitem=Format%20Cells&sort=asc
Logged
chrwei
Full Member
***
Posts: 219


View Profile Email
« Reply #2 on: September 18, 2019, 08:37:41 AM »

I know I can do a render to apply formatting.

so what's the purpose of cellCss if so many things don't trickle down?
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!