Jump to content

Recommended Posts

Posted

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

Posted

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
    };
}

image.png.fd449c2b8a119d68731ae0d8017a9c92.png

Result

image.png.1a35c075407fc11bc501d213778544f3.png

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...