pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Show overflow indicator in results grid for multi line text

Open tbussmann opened this issue 10 months ago • 0 comments

Describe the solution you'd like

If the text in a cell is longer than the column width, the text is truncated and a ... is displayed to indicate the horizontal overflow. If the overflow occurs vertically instead, due to a line break, the overflow is invisible.

Describe alternatives you've considered

Double-click the cell to open its contents in a popup. To do this, you first need to know that there is an overflow.

To further optimise the handling of long text, it would be great to have the ability to increase the height of the lines in the results grid, or a larger dockable panel (like the Scratch Pad) that stays visible next to the results grid and showing the contents of the currently selected cell!

Additional context

See example here: Image

Image

Even psql -X will show an indicator (and the full contents) in this case: Image

This feature request was inspired by feedback from @sfkeller, who reported this as a problem when teaching SQL to his students.

tbussmann avatar Feb 26 '25 21:02 tbussmann