Greetings All,
Thanks to all who have replied. I knew about using the AddIndex and
IndexDefs.Add methods of the TClientDataset, but was hoping to find
something encapsulated in a component.
Years ago (2000 I think) I downloaded TClientDataSetGrid from somewhere and
then found it on the again on the developers network. It had several new
updates and has been modified to work thru v11.0. The site says it will
work for Delphi version 4.0 to 11.0, but I found I had to make a few changes
to compile for Delphi 5.1, that said this works great.
Developed by John Kaster
http://cc.embarcadero.com/item/15099
Mike
----- Original Message -----
From: "Cameron Cole" <came...@cameroncole.com>
To: "Delphi-Talk Discussion List" <delphi-talk@elists.org>
Sent: Friday, April 26, 2013 12:11 PM
Subject: Re: Client Side sorting of mulitple columns
You can do this with TClientdataset already I believe. Check out
http://www.delphifaq.com/faq/delphi/database/f34.shtml
or
http://edn.embarcadero.com/article/29056
Each IndexDef has a property called DescFields which allows you to specify
which fields are descending.
On Fri, Apr 26, 2013 at 8:14 AM, SoftTech <mi...@softtechks.com> wrote:
Greetings All,
Using a TClientDataSet, is there any component out there that allows
sorting of the data in the TClientDataset by multiple columns/fields?
For
instance, one column will be sorted in ascending order and another in
Descending order at the same time?
I would be interested in a grid component that would do this, or a
separate component that would allow for this and of course would display
the results in a grid.
I may even entertain source code to accomplish this.
Any tips, ideas, code really appreciated.
Thanks,
Mike
______________________________**____________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-**bin/mailman/listinfo/delphi-**talk<http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk>
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk