Class TFireGridModelDataBinding
Unit
Declaration
type TFireGridModelDataBinding = class(TObject)
Description
Hierarchy
- TObject
- TFireGridModelDataBinding
Overview
Methods
Description
Methods
constructor Create(ModelController: TFireGridModelController; Column: Integer); |
|
destructor Destroy; override; |
|
function GetColumn: Integer; |
|
procedure SetColumn(Column: Integer); |
|
function GetColumnName: String; |
|
function GetColumnTitle: String; |
|
function GetDisplayRole: TModelItemDataRole; |
|
procedure SetDisplayRole(Role: TModelItemDataRole = TModelItemDataRole.DisplayRole); |
|
function GetEditRole: TModelItemDataRole; |
|
procedure SetEditRole(Role: TModelItemDataRole = TModelItemDataRole.EditRole); |
|
function GetSortRole: TModelItemDataRole; |
|
procedure SetSortRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole); |
|
function GetSummaryRole: TModelItemDataRole; |
|
procedure SetSummaryRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole); |
|
function GetSupportedSummaryTypes: TFireGridSummaryTypes; |
|
procedure SetSupportedSummaryTypes(const types: TFireGridSummaryTypes); |
|
function GetRelationMode: TFireGridRelationMode; |
|
procedure SetRelationMode(mode: TFireGridRelationMode); |
|
function GetRelationModel: TFireModelAbstract; |
|
procedure SetRelationModel(model: TFireModelAbstract; parentIndex: TModelIndex); |
|
function GetRelationDataSource: TDataSource; |
|
procedure SetRelationDataSource(const DataSource: TDataSource); |
|
function GetRelationParentIndex: TModelIndex; |
|
procedure SetForeignKey(const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload; |
|
procedure SetForeignKey(ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload; |
|
function GetForeignKeyColumn: Integer; |
|
function GetForeignKeyColumnName: String; |
|
function GetforeignKeyRole: TModelItemDataRole; |
|
function GetForeignKeyMasterRole: TModelItemDataRole; |
|
procedure SetRoleMapping(Role: TModelItemDataRole; const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload; |
|
procedure SetRoleMapping(Role: TModelItemDataRole; ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload; |
|
function GetForeignColumnMapping(Role: TModelItemDataRole): Integer; |
|
function GetForeignColumnNameMapping(Role: TModelItemDataRole): String; |
|
function GetForeignRoleMapping(Role: TModelItemDataRole): TModelItemDataRole; |
|
function GetController: TFireGridModelController; |
|
function GetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; var RetVal: Variant): Boolean; |
|
function SetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; const Value: Variant): Boolean; |
|
function FindRelationModelIndex(const ForeignKeyValue: Variant): TModelIndex; |
|
function GetValueType: TFieldType; |
|
Generated by PasDoc 0.15.0.