Pink-El Posted April 28, 2023 Share Posted April 28, 2023 Hello, How I can implement word-wrap: break-word; effect for TUnimDBListGrid? I found solution for TUnimDBGrid: .x-big .x-gridcell { word-wrap: break-word; } I tried add in CustomCSS following code .x-big .x-gridcell .x-mgrid-cell .x-mgridcell{ word-wrap: break-word; } but no effect Thank you, Dmytro Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2023 Share Posted April 28, 2023 14 minutes ago, Pink-El said: .x-big Hello, Are you assigning this class? Quote Link to comment Share on other sites More sharing options...
Pink-El Posted April 28, 2023 Author Share Posted April 28, 2023 no Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2023 Share Posted April 28, 2023 Okay, also try this approach: Quote Link to comment Share on other sites More sharing options...
Pink-El Posted April 28, 2023 Author Share Posted April 28, 2023 No result. This solution is for mDBGrid, I am using mDBListGrid CustomCSS .custom64Glyph .x-icon-el { width: 64px !important; height: 64px !important; } .x-gridcell .x-mgrid-cell .x-mgridcell { word-wrap: break-word; white-space: pre-wrap; } .customItem .x-gridcell-body-el { white-space: normal; } beforeinit function beforeInit(sender, config) { config.itemConfig = { height: 50 }; } Result Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2023 Share Posted April 28, 2023 Ok, I will try to check. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 28, 2023 Share Posted April 28, 2023 @Pink-El Also try this solution: Quote Link to comment Share on other sites More sharing options...
Pink-El Posted April 28, 2023 Author Share Posted April 28, 2023 Super! Thank you! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.