SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Save/Load DBGrid user configuration

Use the LoadFromFile and SaveToFile methods for TDBGridColumns type.

procedure TForm1.Button1Click(Sender: TObject);
begin
  DBGrid1.Columns.SaveToFile('DBGrid.txt');
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
  DBGrid1.Columns.LoadFromFile('DBGrid.txt');
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes