Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading additional rows to a flexgrid upon scroll

Status
Not open for further replies.

SpiritOfLennon

IS-IT--Management
Oct 2, 2001
250
GB
Hi,
I've managed to work out that there is a practical limit to the number of rows that can be loaded into a flexgrid. I'd like to try and write a routine so that as the user scrolls down the data grid new rows are added to the bottom of the dataset and removed from the top. What's the best way to achieve this? I guess the best way is to use the scroll event, however how do I determine that it's the vertical scroll bar being used and how do I determine where the user has scrolled down/up to in order to trigger loading data?
Any suggestions would be appreciated.
Regards


SOL
I'm only guessing but my guess work generally works for me.
 
The Flexgrid TopRow property returns or sets the first visible non-fixed row

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top