RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPagedAdapter Class

TPagedAdapter divides a large amount of data into several pages, each page displaying a portion of the data records.

Pascal
TPagedAdapter = class(TCustomPagedAdapter);
C++
class TPagedAdapter : public TCustomPagedAdapter;

Use TPagedAdapter like TAdapter to define a custom interface to application logic. Set the PageSize property to indicate the number of rows that a page displays. When the PageSize is not 0, the TPagedAdapter component automatically adds built-in actions called TAdapterNextPageAction, TAdapterPrevPageAction, and TAdapterGotoPageAction for moving between pages. To generate HTML buttons for these actions, use TAdapterPageProducer.  

The TDataSetAdapter component also supports paging. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!