Page 1 of 1

Bug/Usability Issue: Column with data renders as empty

Posted: Fri Apr 15, 2022 5:51 am
by 18692679
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

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

Posted: Thu Apr 21, 2022 8:21 am
by Marc
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

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

Posted: Sat Apr 23, 2022 8:14 pm
by 18692679
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