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





--
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




Reply via email to