Subject Sorting in a grid
Author Svein Erling Tysvær
I use TIB_Grid.OnGetDisplayText to modify the text shown in some fields. When trying to sort, the underlying values of the field are used rather than the value I display and the sorting appears random to the user. How do I sort on the value I display rather than the value that is stored in the table?

I think I'm asking more out of curiosity than necessity, in this particular case using a filter might be a good alternative to sorting, and that I can do easily.


[Non-text portions of this message have been removed]