Add/Delete DBGrid ColumnFields

With DBGrid
how do I Add and Delete FieldsColumns in Run-time?
Who is Participating?
To add use   DBGrid1.Columns.Add

To remove use   DBGrid1.Columns[i].Destroy;

rainbowsoftwareAuthor Commented:
I have tried Delete and Erase but not Destroy, so thank you for your help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.