Jump to content
Sign in to follow this  
dormky

Changing the DBGrid datasource changes its aspect

Recommended Posts

When my DBGrid's datasource points to a TMyTable, its fixed rows are drawn like this :

image.png.47e31bb0029cbe42aaa5d06aad5997f1.png

 

But when changing to a TClientDataSet, they are drawn like this :

image.png.0b904fb7cbaf2ed4245cf5dbfe1207ff.png

 

What can I do to prevent this change ? Is this a style problem ? Is it a difference in settings between the TClientDataSet and the TMyTable ? I haven't found one that could provoke this but it's the best idea I've got as to why this behavior occurs.

Share this post


Link to post

That won't explain the different appearance of the header.

 

Nevertheless, way too less information to find the cause.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×