Matt: I got it working by returning the 'correct length' from the 'get length()' method. I will post the code here as soon as it is presentable.
Sanjay --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > How did you set the length of the data provider? My example does > provide the way to set the length and everything shows up at the top of > the grid. Maybe you're accidentally sorting or something? > > > > Matt > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sanjayd > Sent: Sunday, July 10, 2005 2:29 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] how to specify the size of the vScrollBar > > > > folks. > > I am writing a PagingDataProvider that feeds an underlying grid > page-by-page on demand..I started with the code from Matt's blog site. > However, I want the vScrollBar on the grid to reflect the 'correct > number of rows', not just the rows that have been already rendered. > > I tried setting the length of the dataProvider to the 'correct number > of rows' ...although that sizes the scrollBar accurately, now the > rendered rows show up at the bottom of the grid (ie. you have to > scroll all the way to the bottom of the grid to see what should have > been visible at the top!! ) > > Am I missing something obvious ? > > Thanks - Sanjay > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/