Sorting by a column without index


1 comment

  • Roy Woll

    The sorting takes place in the dataset, not the grid.  So you would have to sort it by an index, or in the case of a query you would need to modify your query.  If your dataset is localized such as with a TClientDataSet, then you can sort using the IndexFieldNames property.

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk