sDBGrid

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #59108
    Support
    Keymaster

      Do you mean something like attached image?

      Try to specify captions of columns with '|' divider like this:

      Code:
      item
      Expanded = False
      FieldName = 'Address1'
      Title.Caption = 'Address|First'
      Width = 184
      Visible = True
      end
      item
      Expanded = False
      FieldName = 'Address2'
      Title.Caption = 'Address|Second'
      Width = 50
      Visible = True
      end
      #59114
      Stephane Senecal
      Participant

        Wow I didn't know that. That's nice!

        Stephane Senecal
        CIS Group
        Delphi programmer since 2001

        #59127
        MetroFX
        Participant
          'Support' wrote:

          Do you mean something like attached image?

          Try to specify captions of columns with '|' divider like this:

          Code:
          item
          Expanded = False
          FieldName = 'Address1'
          Title.Caption = 'Address|First'
          Width = 184
          Visible = True
          end
          item
          Expanded = False
          FieldName = 'Address2'
          Title.Caption = 'Address|Second'
          Width = 50
          Visible = True
          end

          Thanks. I rather feel something like that. I need to group some columns as in the attached picture.

          I'm sorry, but it works. But how to do it to align the text in the first line “Address”

          #59131
          MetroFX
          Participant

            Again. Everything works, but not the end. I added a screenshot and as you can see, the first row is formatted differently.

            #59184
            Support
            Keymaster
              'MetroFX' wrote:
              Again. Everything works, but not the end. I added a screenshot and as you can see, the first row is formatted differently.

              Do you mean a different aligning of text? I will check it.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.