DBGrid Sort by Column Click at Runtime.

[ Delphi Forum -- by DelphiLand ]

Posted by Syed Ashfaq on January 02, 2004 at 07:31:15:

I have a problem with Sorting DBGrid by Column Click which holds a table control.But this table control does not have a sort property becoz i m using a customized component.
I can sort the DBgrid using the following code:

But this only sorts Ascending ,but i need Descending Sort as well.
Can anyone help me out with this.

Related Articles and Replies:

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]