Jump to content

Recommended Posts

Posted
32 minutes ago, Tokay said:

Is it possible to wrap lines in a column of a TUniStringGrid? I colud'nt find anything on forum.

In the column header or in the cells?

Posted

This is DFM code:

    object StringGrid1: TUniStringGrid
      Left = 0
      Top = 0
      Width = 369
      Height = 321
      Hint = ''
      FixedCols = 0
      FixedRows = 0
      RowCount = 7
      ColCount = 2
      DefaultRowHeight = 18
      Options = [goVertLine, goHorzLine, goColSizing, goRowSelect]
      ShowColumnTitles = True
      Columns = <
        item
          Title.Caption = #1055#1072#1088#1072#1084#1077#1090#1088
          Title.Color = clBlack
          Width = 150
        end
        item
          Title.Caption = #1047#1085#1072#1095#1077#1085#1080#1077
          Title.Color = clBlack
          Width = 200
        end>
      Align = alTop
      TabOrder = 1
    end

 

  • 6 months later...
  • 3 years later...
Posted

Hello,

19 hours ago, charles13115255 said:

Can you answer both?

Okay, I will try.

But tell me, did you get an answer (solution) to one of your questions?

Posted
8 minutes ago, Sherzod said:

Hello,

Okay, I will try.

But tell me, did you get an answer (solution) to one of your questions?

Hello~~

I am in an urgent need of help:

 1. Fixed Col

2. Column

3. normal col

Thanks for the trouble. 😀

Posted
25 minutes ago, charles13115255 said:

I am in an urgent need of help:

 1. Fixed Col

2. Column

3. normal col

Try this customCSS:

.x-column-header-text-inner {
    background-repeat: no-repeat;
    white-space: normal;
}

 

Posted
10 minutes ago, charles13115255 said:

stringgridQ3.png

 

On 5/20/2020 at 5:06 PM, Sherzod said:

You can try to use this CustomCSS:

.x-grid-cell-inner {
    white-space: normal;
}

 

Posted
3 hours ago, Sherzod said:

Try this customCSS:

.x-column-header-text-inner {
    background-repeat: no-repeat;
    white-space: normal;
}

 

 

1 hour ago, Sherzod said:
.x-grid-cell-inner {
    white-space: normal;
}

 

But, 

Can I specify specific StringGrid settings?

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