Hi Paul Thanks for the reply.
My grid is hooked to a bizobj, and I've checked my event handler is being called. When I click on a column heading, the 'first' record is now sometimes being displayed after a column sort I wonder, since it isn't behaving consistently, whether there is a timing issue, as the grid is quite large (20 columns, 80+ rows), and a number of 'refreshes' seem to take place with the grid flashing several times, but the current record after is the same one as before the column sort. Paul McNett wrote: > Dave Nation wrote: > >> I would like go to the top of the recordset when a column header is >> clicked in a Grid. So as you click different headers, the grid displays >> the lowest(or highest) key for the selected column as the first row of >> the grid.. >> >> I have tried picking up the 'GridHeaderMouseLeftClick' event, changing >> the CurrentRow property and refreshing the grid, but this doesn't do it. >> >> I hope you can offer me some advice. >> > > Is your grid hooked up to a bizobj for the DataSource? If so, then what > you want to do is do a biz.first() and then refresh the grid. > > But first make sure your event handler is being called, by putting a > print statement in there... > > HTH > Paul > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
