🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by ayfer kutuk Thu, 02 Mar 2000 00:00
DBGrid and Sorting
#1156
Author: ayfer kutuk
Date: Thu, 02 Mar 2000 00:00
7 lines
751 bytes
Hi..
I want to sort dbgrid by title of dbgrid at run time with click on title
of it.I am using query for dbgrid on c++builder4.
If some one know something about this, please reply at this email.

Thank you.
Ayfer
Re: DBGrid and Sorting
#1158
Author: Mark Cashman (TeamB)
Date: Thu, 02 Mar 2000 00:00
18 lines
1289 bytes
Hello, Ayfer!

I use the Infopower grid (http://www.woll2woll.com) which supports title
buttons - that's the best way to change your index in the way you
describe. However, the standard grid doesn't support that directly, so
you will have to use OnCellClick detect it is on row 0 and use that as
the basis for your action.

The rest of the processing depends on the type of data sets and
available indexes, so you'll have to provide more detail to get help on
that part.

------
Mark Cashman, TeamB C++ Builder
http://www.temporaldoorway.com/programming/index.htm
C++ Builder, JBuilder programming information
Home of The C++ Builder Programmer's Webring - Join us!
------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads