TMSDataGrid: Sort button column by imageindex

Is it possible to sort a button column by the imageindices of the buttons?

Hi,

You can implement the OnCustomCompare, and then compare the image indices, but this would have to be a separate tracked list, since accessing the buttons directly would corrupt the compare, meaning you cannot compare objects references by cells (cell buttons) as these would be swapped, and they also don’t exist when they are not in view.