Hi, I want to sort a DBGrid and found this example:
https://wiki.lazarus.freepascal.org/Grids_Reference_Page#Sorting_columns_or_rows_in_DBGrid_with_sort_arrows_in_column_header
I works only as long as I sort the same column. When I sort a column and then want to sort another column I get an error.
error:
The maximum amount of indexes is reached
How to sort a DBGrid?