PDA

Click to See Complete Forum and Search --> : Dbgrid or Flexgrid column headers


Caro
Jul 5th, 2000, 03:47 AM
Does anyone know how I can sort data in a grid by clicking on the header? For example, I am displaying date, name etc in columns and want to sort it by name if the user clicks on name heading and by date if they click on date etc.

fkauffman
Jul 5th, 2000, 05:05 AM
Hi,

I've used a datagrid and connected a ADODB.Recordset (clientside & disconnected) as the datasource.
When I sort the recordset, my datagrid is sorted.

This works fine and fast, but I'm not sure if you want to go in this direction to solve your problem...

good luck,

Fedor