I am testing both of this examples, thanks.. Question: is there any possibility to control the DataGrids scrolling thumb position and height?
Because this way a page size would be fixed (rows not scrolling at all) and the scroller would be used just for navigation through pages (instead of the "breadcrumbs" section above the grid). It would also give an info of current page / total pages. It would be nice if the scroller position and height could be set in percentage (e.g. positionFromTop=20, height=10) while the loaded rows count is always equal to grid rows count. --- In flexcoders@yahoogroups.com, "roman_dolgov" <[EMAIL PROTECTED]> wrote: > > I am facing similar problem and wrote a blog entry on similar topic: > http://blog.widget-labs.com/?p=7 > > (The main idea is to implement custom IList data provider that relies > on ItemPendingError for delayed loading) > > regards > rd > > --- In flexcoders@yahoogroups.com, "Danko Kozar" <danko.kozar@> wrote: > > > > I'd like to hear some thoughts about paging implementation on Flex > > DataGrid. > > > > The server side implementation isn't a problem - I have a paging > > routine that fetches chunks of data from a database. This paging > > works ok with asp.net. > > > > But, with changing the client-side technology to Flex, I would not > > like to have a "classic web grid" with page numbers above ( 1 - 2 - > > 3 - ..etc ) I'd rather like to move from this web-like paging to a > > more Windows-like paging, e.g. have a DataGrid with a scroller that > > changes it's height regarding on the percent of currently displayed > > records. > > > > My idea is to: > > 1) count a total number of records in the database table > > 2) fill a datagrid with "blank" records (e.g. containing a > > label "Loading...") > > 3) regarding on the scroller position, update the dataProvider > > item's that have to be displayed on-screen > > > > I assume that this method tends to be both memory and processor > > consuming. So I'd like to hear a better idea. :-) > > > > ps. Does some Flex "DataGrid with paging" implementation already > > exist? > > > > Thanks for answers! > > >