EasyUI Forum

General Category => EasyUI for React => Topic started by: chrwei on September 16, 2019, 02:37:05 PM



Title: GridColumn cellCss not taking effect
Post by: chrwei 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.


Title: Re: GridColumn cellCss not taking effect
Post by: jarry 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


Title: Re: GridColumn cellCss not taking effect
Post by: chrwei 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?