Jump to content

Recommended Posts

Posted
16 hours ago, AmericoKutomi said:

Is it possible to wrap texts (break in multiple lines) inside each title column?

You can try to use this CustomCSS:

.x-column-header-inner .x-column-header-text {
    white-space: normal;
    text-align: center;
}

 

  • Like 1
Posted
16 hours ago, AmericoKutomi said:

My DBGrid has columns with large texts for their titles.

Is it possible to wrap texts (break in multiple lines) inside each title column?

 

 

You can also set your UniDBGrid1.Colums[x]  property :   DisplayMemo = True

 

Multi_Lines.png

Posted
2 minutes ago, Abaksoft said:

You can also set your UniDBGrid1.Colums[x]  property :   DisplayMemo = True

It seems a question about wrapping the text in the column header.

Posted
Just now, Sherzod said:

It seems a question about wrapping the text in the column header.

Oh Sorry,  I read quickly !

DisplayMemo is for the rows Field.obviously ;)

 

Posted
5 hours ago, Sherzod said:

You can try to use this CustomCSS:


.x-column-header-inner .x-column-header-text {
    white-space: normal;
    text-align: center;
}

 

Sherzod,

I will try this, too, because I want to learn more.

Thank you, very much.

  • AmericoKutomi changed the title to (solved) Long text on column title in DBGrid - How to wrap it?
  • 1 year later...
Posted

Hello @Sherzod

I used your suggestion. about wrap text at the memo field . (uniDBGrid)
But it didn't work!
Well, why might that be?

Best Regard,

Delphi 10.2

uniGUI : 1.90.0.1550

.x-column-header-inner .x-column-header-text {
    white-space: normal;
    text-align: center;
}

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...