From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Cc: | Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com> |
Subject: | RM 6427 - Newlines in text columns of resultset show an allegedly "empty" field |
Date: | 2021-06-30 10:05:19 |
Message-ID: | CA+OCxozRoYYgSp+BRrovk31uzn4sB0JCL6ztcgaOjpx6qnfbqA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Here's a simple patch for $SUBJECT. It will remove any leading spaces from
the grid cell display and replace them with '[...] '. In edit mode, the
data is unchanged.
The only downside I can see to this is that the tooltip will show the
modified data when it probably should actually show the un-modified data.
Unfortunately that's handled by a SlickGrid plugin, which would have to be
vendorised and modified (perhaps non-trivially). I don't think that's a big
issue though.
--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake
Attachment | Content-Type | Size |
---|---|---|
RM_6427.diff | application/octet-stream | 948 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2021-06-30 11:36:17 | Re: RM 6427 - Newlines in text columns of resultset show an allegedly "empty" field |
Previous Message | Dave Page | 2021-06-30 10:04:53 | pgAdmin 4 commit: PEP-8 fix. |