I have a simple form containing TstringGrid
with 2 columns, a TStringColumn
and TCheckColumn
added. I have seen many examples of saving the contents to file if the cells contain text or numbers. I have not seen any examples of saving with a TCheckColumn
. I am assuming that I must check each CheckColumn
cell, determine its state and assign a value that can be saved to file. Or maybe there is a more elegant way to do this.
As for sorting - again many examples using strings or numbers but none with TCheckColumn
. I have HeaderClick
enabled. On the TStringColumn
I would like to sort Alphabetically - On the TCheckColumn
- I would like checked items at the top of the column.
I am using Delphi 10.2.1 and will compile for Android.