Class TrDBGridCustomSorter
Unit
rDBGrid
Declaration
type TrDBGridCustomSorter = class(TComponent)
Description
define base Sorter component for dataset sorting; must be used as based class for any other dataset sorter
Hierarchy
- TComponent
- TrDBGridCustomSorter
Overview
Methods
Properties
|
property GoToFirstAfterSort: boolean read FGoToFirstAfterSort write FGoToFirstAfterSort default false; |
|
property GoToFirstAfterRefresh: boolean read FGoToFirstAfterRefresh write FGoToFirstAfterRefresh default false; |
Description
Methods
|
function DoSort(Sender: TrDBGrid; DataSet: TDataSet; SortFieldNames: TSortFieldNames; SortDirections: TSortDirections): boolean; virtual; |
virtual procedure provide sorting, calls SetSort_CreateIndex to sort dataset
|
|
procedure DoRefresh(Sender: TrDBGrid; DataSet: TDataSet); virtual; |
virtual procedure provide refreshing of dataset, calls DatasetRequery
|
Properties
|
property GoToFirstAfterSort: boolean read FGoToFirstAfterSort write FGoToFirstAfterSort default false; |
define selecting of first record after sorting
|
|
property GoToFirstAfterRefresh: boolean read FGoToFirstAfterRefresh write FGoToFirstAfterRefresh default false; |
define selecting of first record after refresh
|
Generated by PasDoc 0.15.0.
|