Bug/Usability Issue: Column with data renders as empty

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
stoffman
Newbie
Newbie
Posts: 14
Joined: Wed Dec 29, 2021 12:00 am

Bug/Usability Issue: Column with data renders as empty

Post by stoffman » Fri Apr 15, 2022 5:51 am

Hi,

Please see the attached image for reference. The column "authors" in the database has a none standard type, but while in the standard grid the user *knows * it has some kind of value, In TeeGrid the user get to think that is has none.

As it involves a postgressql database, I cannot send an example to reproduce the error.
1. I'm using Zeos data access library
2. The column type is varchar(60)[] (array of varchars with max length of 60)


Thanks,
Yoni
Attachments
authors.png
authors.png (22.44 KiB) Viewed 30542 times

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Bug/Usability Issue: Column with data renders as empty

Post by Marc » Thu Apr 21, 2022 8:21 am

Hello Yoni,

Please take a look at the PaintPicture method in this example:

https://github.com/Steema/TeeGrid-VCL-F ... StringGrid

The handler is setup to act upon the data for the column, in this case to handle an image; but the approach can be used to handle different types of contents in the way that you see fit; extracting representative text or similar, to display.

Regards,
Marc
Steema Support

stoffman
Newbie
Newbie
Posts: 14
Joined: Wed Dec 29, 2021 12:00 am

Re: Bug/Usability Issue: Column with data renders as empty

Post by stoffman » Sat Apr 23, 2022 8:14 pm

Hi Marc,

Thank you, but that is a good solution when the application uses static queries. When the user defines its own query the *default* should not be blank. It gives the false impression that the field is null.

The default should me something like: {unprintable data...}

Thanks,
Yoni

Post Reply