Show: Delphi
C++
Display Preferences
WebAdapt.TDefaultFieldsPagedAdapter
From XE2 API Documentation
Delphi
TDefaultFieldsPagedAdapter = class(TDefaultFieldsAdapter)
C++
class PASCALIMPLEMENTATION TDefaultFieldsPagedAdapter : public TDefaultFieldsAdapter
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | WebAdapt.pas WebAdapt.hpp |
WebAdapt | WebAdapt |
Description
TDefaultFieldsPagedAdapter is a base class for adapters that support paging.
Enable paging by setting the PageSize property. When paging is enabled, the way that the adapter enumerates records is affected. The adapter calculates the number of pages by dividing the number of records by the page size. It keeps track of a current page number. When the enumerating records, the records on the current page are enumerated. Server-side script simply enumerates the records. Server-side script does not need to be aware of the page size or current page number. When paging is enabled, default actions for moving between pages are automatically added to the adapter.