0

I have my DBgrid connected via TDataSource and Firedac TFDQuery. Data is populated from query. Headers are the fields returned by the query.

I want to make 1st and 5th column non resizable and other fields as resizable. How Do I fix column width only for two columns of DBGrid?

And on other form, I have Tclientdataset connected to DBGrid. When I do clientdataset.next and it goes through all records, DBGrid automatically scrolls till the end and gives flickering effect.

1

1 Answer 1

1

For the second question use the DisableControls and EnableControls methods of the TDataSet descendant your using (TFDQuery in this case) if you want to do things without the controls being updated.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.