Thread: displaying line breaks / increasing row height in pgadmin

displaying line breaks / increasing row height in pgadmin

From
Luke Campbell
Date:
Hi pgadmin maillist,

Is there a way to make the results grid in pgadmin automatically increase rows' height if a string contains a carriage return?

I've updated pgadmin 4 to 8.6 and strings in the results grid now seem to display line breaks / carriage returns by default, but this has caused me to incorrectly think that was the end of the string. I would like these strings to display as paragraphs or otherwise indicate that there's more than what's displayed.

Yours,

Re: displaying line breaks / increasing row height in pgadmin

From
Erik Wienhold
Date:
Hi Luke,

On 2024-05-22 13:46 +0200, Luke Campbell wrote:
> Is there a way to make the results grid in pgadmin automatically increase
> rows' height if a string contains a carriage return?
> 
> I've updated pgadmin 4 to 8.6 and strings in the results grid now seem to
> display line breaks / carriage returns by default, but this has caused me
> to incorrectly think that was the end of the string. I would like these
> strings to display as paragraphs or otherwise indicate that there's more
> than what's displayed.

This list is only about Postgres administration.  PgAdmin has a separate
list: https://www.postgresql.org/list/pgadmin-support/

-- 
Erik



Re: displaying line breaks / increasing row height in pgadmin

From
Muhammad Salahuddin Manzoor
Date:
Dear Luke,

In pgAdmin 4, as of version 8.6, there is no direct setting to automatically adjust the row height in the results grid to fit multiline strings. However, you can use the following workarounds to better manage the display of multiline text in your results grid.

Use the Cell Edit Panel:
Enable Word Wrap in the Query Tool:
Adjust Row Height Manually:
Custom Query Formatting:
External Tools:

Salahuddin (살라후딘)



On Wed, 22 May 2024 at 16:47, Luke Campbell <lukejcampbell7@gmail.com> wrote:
Hi pgadmin maillist,

Is there a way to make the results grid in pgadmin automatically increase rows' height if a string contains a carriage return?

I've updated pgadmin 4 to 8.6 and strings in the results grid now seem to display line breaks / carriage returns by default, but this has caused me to incorrectly think that was the end of the string. I would like these strings to display as paragraphs or otherwise indicate that there's more than what's displayed.

Yours,