Jump to content


Photo

display memo with line break in Grid

Grid memo

  • Please log in to reply
6 replies to this topic

#1 lawrencetse

lawrencetse

    Newbie

  • uniGUI Subscriber
  • Pip
  • 3 posts

Posted 11 June 2018 - 10:54 PM

Hi

 

I already to display memo to true.

 

Is it possible to display memo field in grid with line break ?

  

Attached Files


  • 0

#2 Beginner

Beginner

    Active Member

  • Members
  • PipPipPip
  • 89 posts

Posted 11 June 2018 - 11:02 PM

Hi , you should choose in dbgrid-columns - display memo =true


  • 0

#3 lawrencetse

lawrencetse

    Newbie

  • uniGUI Subscriber
  • Pip
  • 3 posts

Posted 12 June 2018 - 06:15 AM

yes already select displaymemo =true

the memo displayed without line feed
All group into few lines
  • 0

#4 lawrencetse

lawrencetse

    Newbie

  • uniGUI Subscriber
  • Pip
  • 3 posts

Posted 12 June 2018 - 06:15 AM

yes already select displaymemo =true

the memo displayed without line feed
All group into few lines
  • 0

#5 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4987 posts

Posted 12 June 2018 - 06:26 AM

Hi,

 

Can you please explain in mode details, what problem do you have?

 

Can you attach a screenshot or a simple testcase?


  • 0

#6 Andy Richmond

Andy Richmond

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 77 posts

Posted 12 June 2018 - 10:36 AM

Put <br> into the text where you want the line breaks.

 

So, for your example:

 

aa<br>bb<br>cc


  • 0

#7 lawrencetse

lawrencetse

    Newbie

  • uniGUI Subscriber
  • Pip
  • 3 posts

Posted 12 June 2018 - 11:38 AM

when we put the text in unidbmemo with line break.

but those line break is ignored in dbgrid,

all lines group together unless we put <br> insteads of line break !!


  • 0





Also tagged with one or more of these keywords: Grid, memo

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users