Feature Request: OwnerDraw event in certain cases

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

Feature Request: OwnerDraw event in certain cases

Post by stoffman » Fri Mar 25, 2022 8:57 am

Please enable user OwnerDraw event for the following situations:

1. Before any datasource is attached to the grid
2. When the datasource is attached but is *empty*
3. When data is being fetched from the server (so you can have "Loading..." text or animation)

For example, see the difference for use case number 2 (empty results), even with my limited skills it looks much more user friendly when you can display a clear message inside the grid area.
Attachments
empty_ownerdraw.png
empty_ownerdraw.png (20.03 KiB) Viewed 29915 times
empty.png
empty.png (7.83 KiB) Viewed 29915 times

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

Re: Feature Request: OwnerDraw event in certain cases

Post by Marc » Thu Mar 31, 2022 10:44 am

Hello,

We'll look at the best places to add the callbacks and prepare a test version.

Regards,
Marc Meumann
Steema Support

Post Reply