Results 1 to 2 of 2

Thread: Dbgrid or Flexgrid column headers

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203
    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.

  2. #2
    Lively Member
    Join Date
    Jun 2000
    Posts
    80
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width