Class TFireGridViewBase
Unit
Declaration
type TFireGridViewBase = class(TComponent)
Description
Hierarchy
- TObject
- TPersistent
- TComponent
- TFireGridViewBase
Overview
Nested Classes and Records
EditContext = record |
Fields
FGroups: TFireGridColumns; |
|
FViewGraphicPrimitive: TFireGridViewGraphic; |
|
FOptions: TFireGridViewOptions; |
|
FFilterDlg: TCommonDialog; |
|
FLayoutLoading: Boolean; |
|
FMenuContext: TFireGraphicPrimitive; |
|
FSelectionHandler: TFireGridViewSelectionHandler; |
|
FClickHandler: TFireGridCellMouseClickHandler; |
|
FEditContext: EditContext; |
|
FNewRowModify: Boolean; |
|
FColumnsList: TFireGridColumns; |
|
FViewStates: TFireGridViewStates; |
|
FContextStates: TFireGridViewStates; |
|
FActionList: TActionList; |
|
FFieldProviders: TList<TFireGridFieldChooserProviderAbstract>; |
Methods
function AddColumn(const ModelColumnName: String; const Caption: String = ''): TFireGridColumnBase; overload; |
|
function AddColumn(ModelColumn: Integer; const Caption: String = '') : TFireGridColumnBase; overload; |
|
function GetColumnCount(): Integer; |
|
function GetColumn(Index: Integer): TFireGridColumnBase; |
|
function GetColumnByModelColumn(ModelColumn: Integer): TFireGridColumnBase; |
|
function GetColumnByModelColumnName(const ModelColumnName: String): TFireGridColumnBase; |
|
function GetColumnByDataBinding(const DataBinding: TFireGridModelDataBinding): TFireGridColumnBase; |
|
function RemoveColumn(Index: Integer): Boolean; |
|
procedure RemoveColumns(); |
|
procedure EditorRepositoryChanged(Repository: TFireGridEditorRepositoryAbstract); virtual; abstract; |
|
function GetDataBinding(const ColumnBase: TFireGridColumnBase): TFireGridModelDataBinding; |
|
procedure BeginUpdate; virtual; |
|
procedure EndUpdate; virtual; |
|
procedure RequestUpdateLayout(ZoomDelta: Double = 0); |
|
function ShowEditor(ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function CloseEditor: Boolean; |
|
procedure HideEditor; |
|
function PostEditor: Boolean; |
|
function ValidateEditor: Boolean; |
|
function ActiveEditor: TFireGridEditorAbstract; |
|
function IsEditing: Boolean; |
|
function IsModified: Boolean; |
|
function ShowNewRowEditor: Boolean; |
|
function CloseNewRowEditor: Boolean; |
|
procedure HideNewRowEditor; |
|
function IsNewRowEditing: Boolean; |
|
function GetRow(const Index: TModelIndex): PFireGridRow; overload; |
|
function GetRow(RowIndex: Integer): PFireGridRow; overload; |
|
function GetRowCount: Integer; |
|
function GetFocusedRow: PFireGridRow; |
|
function RemoveRow(Row: PFireGridRow): Boolean; |
|
function RemoveRows(Row: PFireGridRow; count: Integer): Boolean; |
|
function GetFocusedRowIndex: Integer; |
|
function SetFocusedRowIndex(RowIndex: Integer; Modifiers: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function GetFocusedColumnIndex: Integer; |
|
function SetFocusedColumnIndex(columnIndex: Integer; Modifiers: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function SetCellFocus(RowIndex: Integer; ColumnIndex: Integer; Shift: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function GetModel: TFireModelAbstract; |
|
procedure SetModel(Model: TFireModelAbstract; const Parent: TModelIndex); overload; |
|
procedure SetModel(Model: TFireModelAbstract); overload; |
|
function GetDataSource: TDataSource; |
|
procedure SetDataSource(const DataSource: TDataSource); |
|
function GetFilter: TFireGridFilter; |
|
procedure AddColumns; virtual; |
|
function IsColumnVisible(const Column: TFireGridColumnBase): Boolean; |
|
procedure SelectCurrentRanges(const Ranges: TFireGridSelectionRanges; const Operation: TFireGridSelectionOperation); |
|
constructor CreateInstance(Grid: TFireCustomDataGrid); virtual; |
|
destructor Destroy; override; |
|
class procedure DestroyView(var View: TFireGridViewBase); |
|
procedure SetOptions(const Options: TFireGridViewOptions); |
|
function GetComponentName: String; virtual; abstract; |
|
function CreateColumn(const ModelColumn: Integer; const Caption: String): TFireGridColumnBase; virtual; abstract; |
|
procedure Initialize; virtual; |
|
procedure Finalize; virtual; |
|
procedure MarkColumnsChanged; |
|
function HasVisibleParent(const Column: TFireGridColumnBase): Boolean; virtual; |
|
procedure UpdateRowsOld(ForceUpdate: Boolean = False); virtual; abstract; |
|
procedure ApplyChanges(ControllerChanges: TFireGridModelController.TChangeFlags; ViewStates: TFireGridViewStates); |
|
function CheckActivationEditorPolicy(ActivationPolicy: TFireGridEditorActivationPolicy): Boolean; |
|
function ShowEditorInternal(ActivationPolicy: TFireGridEditorActivationPolicy): Boolean; |
|
function CloseEditorInternal: Boolean; |
|
procedure CancelEditing; |
|
function CheckRemove(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckMove(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckHorSizing(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckGrouping(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
procedure ColumnsChanged(); virtual; abstract; |
|
procedure TextAlignmentChanged(columnBase: TFireGridColumnBase); virtual; abstract; |
|
procedure FilterChanged; virtual; abstract; |
|
procedure ResetModelHeight; virtual; abstract; |
|
function CreateNativeDragDropObject(const Pos: TPoint): TFireNativeDragObject; virtual; abstract; |
|
procedure ShowRowOnScreen(OldRowIndex: Integer; NewRowIndex: Integer); virtual; abstract; |
|
procedure ShowColumnOnScreen(OldColumnIndex: Integer; ColumnIndex: Integer); virtual; abstract; |
|
procedure SetModelToController(Model: TFireModelAbstract; const Parent: TModelIndex); virtual; |
|
function GetColumnIndex(const columnBase: TFireGridColumnBase): Integer; virtual; |
|
function GetColumnSortIndex(const ColumnBase: TFireGridColumnBase): Integer; virtual; |
|
procedure SetColumnSortIndex(const ColumnBase: TFireGridColumnBase;SortIndex: Integer); virtual; |
|
function GetColumnSortOrder(const ColumnBase: TFireGridColumnBase): TFireGridSortOrder; virtual; |
|
procedure SetColumnSortOrder(ColumnBase: TFireGridColumnBase; Order: TFireGridSortOrder; CaseSensitivity: Boolean; LocaleAware: Boolean); virtual; |
|
function GetColumnGroupIndex(const columnBase: TFireGridColumnBase): Integer; virtual; abstract; |
|
procedure SetColumnGroupIndex(ColumnBase: TFireGridColumnBase; GroupIndex: Integer; CaseSensitivity: Boolean; LocaleAware: Boolean); virtual; abstract; |
|
procedure SetColumnVisible(ColumnBase: TFireGridColumnBase; Visible: Boolean); virtual; |
|
function CreateOptions: TFireGridViewOptions; virtual; abstract; |
|
function CreateLayout: TFireGridViewGraphic; virtual; abstract; |
|
procedure ColumnCreated(const Column: TFireGridColumnBase); virtual; |
|
procedure ColumnDestroying(const Column: TFireGridColumnBase); virtual; |
|
procedure ColumnWidthChanged(const Column: TFireGridColumnBase); virtual; |
|
function GetFont(const Column: TFireGridColumnBase): TFont; virtual; |
|
function GetColumnBrush(const Column: TFireGridColumnBase): TBrush; virtual; |
|
procedure RaiseError(const Error: String; const Description: String); virtual; |
|
procedure UpdateBorder; |
|
function BuildColumnFilters: Boolean; virtual; abstract; |
|
procedure DestroyColumnFilters; virtual; abstract; |
|
procedure DestroyFilterDialog; |
|
procedure RaiseEditorCreated(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorDestroying(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorModifying(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorEditModeChanged(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorValidating(Args: TFireGridEditorValidationEventArgs); |
|
function SaveLayoutToXML(Node: IXMLNode): Boolean; virtual; abstract; |
|
function LoadLayoutFromXML(Node: IXMLNode): Boolean; virtual; abstract; |
|
function IsDestroying: Boolean; |
|
procedure FocusInEvent; virtual; |
|
procedure FocusOutEvent; virtual; |
|
procedure ChangeGrouping(ColumnBase: TFireGridColumnBase; GroupIndex: Integer; CaseSensitivity: Boolean; LocaleAware: Boolean); |
|
function IsUpdating: Boolean; |
|
procedure ControllerChanged(const Changes: TFireGridModelController.TChangeFlags); |
|
procedure ControllerSummaryCalculated(Sender: TObject); |
|
procedure UpdateFocusedGP; virtual; abstract; |
|
procedure CreateActions; |
|
procedure RemoveActions; |
|
procedure SetActionIcons; |
|
procedure SortNone(Sender: TObject); |
|
procedure SortAscending(Sender: TObject); |
|
procedure SortDescending(Sender: TObject); |
|
procedure HideColumn(Sender: TObject); |
|
procedure GroupByColumn(Sender: TObject); |
|
procedure GroupByBox(Sender: TObject); |
|
procedure FieldChooser(Sender: TObject); |
|
procedure ShowHideFooter(Sender: TObject); |
|
procedure ShowHideGroupFooters(Sender: TObject); |
|
procedure Slot_removeRow(Sender: TObject); |
|
procedure AlignLeftAct(Sender: TObject); |
|
procedure AlignRightAct(Sender: TObject); |
|
procedure AlignCenterAct(Sender: TObject); |
|
procedure ZoomIn(Sender: TObject = nil); |
|
procedure ZoomOut(Sender: TObject = nil); |
|
procedure ExpandAll(Sender: TObject = nil); |
|
procedure CollapseAll(Sender: TObject = nil); |
|
procedure ExecuteFilterDialog(Sender: TObject = nil); |
|
function GetGroupColumnCount: Integer; |
|
function GetGroupColumnByIndex(GroupIndex: Integer): TFireGridColumnBase; |
|
function GetGroups: TFireGridColumns; |
|
procedure ClearGrouping; |
|
procedure PrintPreview; |
|
function IsFieldChooserVisible: Boolean; |
|
procedure ShowFieldChooser; |
|
procedure HideFieldChooser; |
|
procedure ShowFilterPanel; |
|
procedure HideFilterPanel; |
|
procedure ShowContextMenu(const ScreenPosition: TPoint); |
Properties
property ViewContextStates: TFireGridViewStates read FContextStates; |
|
property ModelController: TFireGridModelController read FModelController; |
|
property Layout: TFireGridViewGraphic read FViewGraphicPrimitive; |
|
property Grid: TFireCustomDataGrid read FGrid; |
|
property DataSource: TDataSource read GetDataSource write SetDataSource; |
|
property Options: TFireGridViewOptions read FOptions write SetOptions; |
|
property ActionList: TActionList read FActionList; |
|
property OnEditorCreate: TFireGridEditorNotifyEvent read FOnEditorCreate write FOnEditorCreate; |
|
property OnEditorDestroy: TFireGridEditorNotifyEvent read FOnEditorDestroy write FOnEditorDestroy; |
|
property OnEditorBeforeStart: TFireGridColumnEditorNotifyEvent read FOnEditorBeforeStart write FOnEditorBeforeStart; |
|
property OnEditorStart: TFireGridColumnEditorNotifyEvent read FOnEditorStart write FOnEditorStart; |
|
property OnEditorBeforeStop: TFireGridColumnEditorNotifyEvent read FOnEditorBeforeStop write FOnEditorBeforeStop; |
|
property OnEditorStop: TFireGridColumnEditorNotifyEvent read FOnEditorStop write FOnEditorStop; |
|
property OnEditorEditModeChange: TFireGridEditorNotifyEvent read FOnEditorEditModeChange write FOnEditorEditModeChange; |
|
property OnEditorModify: TFireGridEditorNotifyEvent read FOnEditorModify write FOnEditorModify; |
|
property OnEditorValidate: TFireGridEditorValidationNotifyEvent read FOnEditorValidate write FOnEditorValidate; |
|
property OnContextMenu: TFireGridContextMenuNotifyEvent read FOnContextMenu write FOnContextMenu; |
|
property OnError: TFireGridErrorNotifyEvent read FOnError write FOnError; |
|
property OnFilterActivate: TNotifyEvent read FOnFilterActivate write FOnFilterActivate; |
|
property OnFilterDeactivate: TNotifyEvent read FOnFilterDeactivate write FOnFilterDeactivate; |
|
property OnGroupBeforeExpand: TFireGridGroupStateBeforeNotifyEvent read FOnGroupBeforeExpand write FOnGroupBeforeExpand; |
|
property OnGroupExpand: TFireGridGroupStateNotifyEvent read FOnGroupExpand write FOnGroupExpand; |
|
property OnGroupBeforeCollapse: TFireGridGroupStateBeforeNotifyEvent read FOnGroupBeforeCollapse write FOnGroupBeforeCollapse; |
|
property OnGroupCollapse: TFireGridGroupStateNotifyEvent read FOnGroupCollapse write FOnGroupCollapse; |
|
property OnNewRowEditorClick: TFireGridNewRowNotifyEvent read FOnNewRowEditorClick write FOnNewRowEditorClick; |
|
property OnGrouping: TFireGridGroupingNotifyEvent read FOnGrouping write FOnGrouping; |
|
property OnSorting: TFireGridSortingNotifyEvent read FOnSorting write FOnSorting; |
|
property OnRelationConnect: TFireGridRelationNotifyEvent read FOnRelationConnect write FOnRelationConnect; |
|
property OnSummaryFooterText: TFireGridSummaryFooterTextNotifyEvent read FOnSummaryFooterText write FOnSummaryFooterText; |
|
property OnSummaryGroupText: TFireGridSummaryGroupTextNotifyEvent read FOnSummaryGroupText write FOnSummaryGroupText; |
|
property OnSummaryCalculate: TNotifyEvent read FOnSummaryCalculate write FOnSummaryCalculate; |
|
property OnSelectionChanged: TFireGridSelectionNotifyEvent read FOnSelectionChanged write FOnSelectionChanged; |
|
property OnFocusRowChange: TFireFocusRowChangeNotifyEvent read FOnFocusRowChange write FOnFocusRowChange; |
|
property OnFocusColumnChange: TFireFocusColumnChangeNotifyEvent read FOnFocusColumnChange write FOnFocusColumnChange; |
|
property OnRowClick: TFireRowClickEventNotify read FOnRowClick write FOnRowClick; |
|
property OnRowDblClick: TFireRowClickEventNotify read FOnRowDblClick write FOnRowDblClick; |
|
property OnCellClick: TFireCellClickEventNotify read FOnCellClick write FOnCellClick; |
|
property OnCellDblClick: TFireCellClickEventNotify read FOnCellDblClick write FOnCellDblClick; |
|
property OnCellButtonClick: TFireCellButtonClickNotifyEvent read FOnCellButtonClick write FOnCellButtonClick; |
|
property OnCellButtonStateChange: TFireCellButtonStateChangeNotifyEvent read FOnCellButtonStateChange write FOnCellButtonStateChange; |
|
property OnRowRemove: TFireRowRemovingEventNotify read FOnRowRemove write FOnRowRemove; |
Description
Fields
FGroups: TFireGridColumns; |
|
FViewGraphicPrimitive: TFireGridViewGraphic; |
|
FOptions: TFireGridViewOptions; |
|
FFilterDlg: TCommonDialog; |
|
FLayoutLoading: Boolean; |
|
FMenuContext: TFireGraphicPrimitive; |
|
FSelectionHandler: TFireGridViewSelectionHandler; |
|
FClickHandler: TFireGridCellMouseClickHandler; |
|
FEditContext: EditContext; |
|
FNewRowModify: Boolean; |
|
FColumnsList: TFireGridColumns; |
|
FViewStates: TFireGridViewStates; |
|
FContextStates: TFireGridViewStates; |
|
FActionList: TActionList; |
|
FFieldProviders: TList<TFireGridFieldChooserProviderAbstract>; |
|
Methods
function AddColumn(const ModelColumnName: String; const Caption: String = ''): TFireGridColumnBase; overload; |
|
function AddColumn(ModelColumn: Integer; const Caption: String = '') : TFireGridColumnBase; overload; |
|
function GetColumnCount(): Integer; |
|
function GetColumn(Index: Integer): TFireGridColumnBase; |
|
function GetColumnByModelColumn(ModelColumn: Integer): TFireGridColumnBase; |
|
function GetColumnByModelColumnName(const ModelColumnName: String): TFireGridColumnBase; |
|
function GetColumnByDataBinding(const DataBinding: TFireGridModelDataBinding): TFireGridColumnBase; |
|
function RemoveColumn(Index: Integer): Boolean; |
|
procedure RemoveColumns(); |
|
procedure EditorRepositoryChanged(Repository: TFireGridEditorRepositoryAbstract); virtual; abstract; |
|
function GetDataBinding(const ColumnBase: TFireGridColumnBase): TFireGridModelDataBinding; |
|
procedure BeginUpdate; virtual; |
|
procedure EndUpdate; virtual; |
|
procedure RequestUpdateLayout(ZoomDelta: Double = 0); |
|
function ShowEditor(ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function CloseEditor: Boolean; |
|
procedure HideEditor; |
|
function PostEditor: Boolean; |
|
function ValidateEditor: Boolean; |
|
function ActiveEditor: TFireGridEditorAbstract; |
|
function IsEditing: Boolean; |
|
function IsModified: Boolean; |
|
function ShowNewRowEditor: Boolean; |
|
function CloseNewRowEditor: Boolean; |
|
procedure HideNewRowEditor; |
|
function IsNewRowEditing: Boolean; |
|
function GetRow(const Index: TModelIndex): PFireGridRow; overload; |
|
function GetRow(RowIndex: Integer): PFireGridRow; overload; |
|
function GetRowCount: Integer; |
|
function GetFocusedRow: PFireGridRow; |
|
function RemoveRow(Row: PFireGridRow): Boolean; |
|
function RemoveRows(Row: PFireGridRow; count: Integer): Boolean; |
|
function GetFocusedRowIndex: Integer; |
|
function SetFocusedRowIndex(RowIndex: Integer; Modifiers: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function GetFocusedColumnIndex: Integer; |
|
function SetFocusedColumnIndex(columnIndex: Integer; Modifiers: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function SetCellFocus(RowIndex: Integer; ColumnIndex: Integer; Shift: TShiftState = []; ActivationPolicy: TFireGridEditorActivationPolicy = []): Boolean; |
|
function GetModel: TFireModelAbstract; |
|
procedure SetModel(Model: TFireModelAbstract; const Parent: TModelIndex); overload; |
|
procedure SetModel(Model: TFireModelAbstract); overload; |
|
function GetDataSource: TDataSource; |
|
procedure SetDataSource(const DataSource: TDataSource); |
|
function GetFilter: TFireGridFilter; |
|
procedure AddColumns; virtual; |
|
function IsColumnVisible(const Column: TFireGridColumnBase): Boolean; |
|
procedure SelectCurrentRanges(const Ranges: TFireGridSelectionRanges; const Operation: TFireGridSelectionOperation); |
|
constructor CreateInstance(Grid: TFireCustomDataGrid); virtual; |
|
destructor Destroy; override; |
|
class procedure DestroyView(var View: TFireGridViewBase); |
|
procedure SetOptions(const Options: TFireGridViewOptions); |
|
function GetComponentName: String; virtual; abstract; |
|
function CreateColumn(const ModelColumn: Integer; const Caption: String): TFireGridColumnBase; virtual; abstract; |
|
procedure Initialize; virtual; |
|
procedure Finalize; virtual; |
|
procedure MarkColumnsChanged; |
|
function HasVisibleParent(const Column: TFireGridColumnBase): Boolean; virtual; |
|
procedure UpdateRowsOld(ForceUpdate: Boolean = False); virtual; abstract; |
|
procedure ApplyChanges(ControllerChanges: TFireGridModelController.TChangeFlags; ViewStates: TFireGridViewStates); |
|
function CheckActivationEditorPolicy(ActivationPolicy: TFireGridEditorActivationPolicy): Boolean; |
|
function ShowEditorInternal(ActivationPolicy: TFireGridEditorActivationPolicy): Boolean; |
|
function CloseEditorInternal: Boolean; |
|
procedure CancelEditing; |
|
function CheckRemove(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckMove(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckHorSizing(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
function CheckGrouping(const ColumnBase: TFireGridColumnBase): Boolean; virtual; abstract; |
|
procedure ColumnsChanged(); virtual; abstract; |
|
procedure TextAlignmentChanged(columnBase: TFireGridColumnBase); virtual; abstract; |
|
procedure FilterChanged; virtual; abstract; |
|
procedure ResetModelHeight; virtual; abstract; |
|
function CreateNativeDragDropObject(const Pos: TPoint): TFireNativeDragObject; virtual; abstract; |
|
procedure ShowRowOnScreen(OldRowIndex: Integer; NewRowIndex: Integer); virtual; abstract; |
|
procedure ShowColumnOnScreen(OldColumnIndex: Integer; ColumnIndex: Integer); virtual; abstract; |
|
procedure SetModelToController(Model: TFireModelAbstract; const Parent: TModelIndex); virtual; |
|
function GetColumnIndex(const columnBase: TFireGridColumnBase): Integer; virtual; |
|
function GetColumnSortIndex(const ColumnBase: TFireGridColumnBase): Integer; virtual; |
|
procedure SetColumnSortIndex(const ColumnBase: TFireGridColumnBase;SortIndex: Integer); virtual; |
|
function GetColumnSortOrder(const ColumnBase: TFireGridColumnBase): TFireGridSortOrder; virtual; |
|
procedure SetColumnSortOrder(ColumnBase: TFireGridColumnBase; Order: TFireGridSortOrder; CaseSensitivity: Boolean; LocaleAware: Boolean); virtual; |
|
function GetColumnGroupIndex(const columnBase: TFireGridColumnBase): Integer; virtual; abstract; |
|
procedure SetColumnGroupIndex(ColumnBase: TFireGridColumnBase; GroupIndex: Integer; CaseSensitivity: Boolean; LocaleAware: Boolean); virtual; abstract; |
|
procedure SetColumnVisible(ColumnBase: TFireGridColumnBase; Visible: Boolean); virtual; |
|
function CreateOptions: TFireGridViewOptions; virtual; abstract; |
|
function CreateLayout: TFireGridViewGraphic; virtual; abstract; |
|
procedure ColumnCreated(const Column: TFireGridColumnBase); virtual; |
|
procedure ColumnDestroying(const Column: TFireGridColumnBase); virtual; |
|
procedure ColumnWidthChanged(const Column: TFireGridColumnBase); virtual; |
|
function GetFont(const Column: TFireGridColumnBase): TFont; virtual; |
|
function GetColumnBrush(const Column: TFireGridColumnBase): TBrush; virtual; |
|
procedure RaiseError(const Error: String; const Description: String); virtual; |
|
procedure UpdateBorder; |
|
function BuildColumnFilters: Boolean; virtual; abstract; |
|
procedure DestroyColumnFilters; virtual; abstract; |
|
procedure DestroyFilterDialog; |
|
procedure RaiseEditorCreated(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorDestroying(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorModifying(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorEditModeChanged(Editor: TFireGridEditorAbstract); |
|
procedure RaiseEditorValidating(Args: TFireGridEditorValidationEventArgs); |
|
function SaveLayoutToXML(Node: IXMLNode): Boolean; virtual; abstract; |
|
function LoadLayoutFromXML(Node: IXMLNode): Boolean; virtual; abstract; |
|
function IsDestroying: Boolean; |
|
procedure FocusInEvent; virtual; |
|
procedure FocusOutEvent; virtual; |
|
procedure ChangeGrouping(ColumnBase: TFireGridColumnBase; GroupIndex: Integer; CaseSensitivity: Boolean; LocaleAware: Boolean); |
|
function IsUpdating: Boolean; |
|
procedure ControllerChanged(const Changes: TFireGridModelController.TChangeFlags); |
|
procedure ControllerSummaryCalculated(Sender: TObject); |
|
procedure UpdateFocusedGP; virtual; abstract; |
|
procedure CreateActions; |
|
procedure RemoveActions; |
|
procedure SetActionIcons; |
|
procedure SortNone(Sender: TObject); |
|
procedure SortAscending(Sender: TObject); |
|
procedure SortDescending(Sender: TObject); |
|
procedure HideColumn(Sender: TObject); |
|
procedure GroupByColumn(Sender: TObject); |
|
procedure GroupByBox(Sender: TObject); |
|
procedure FieldChooser(Sender: TObject); |
|
procedure ShowHideFooter(Sender: TObject); |
|
procedure ShowHideGroupFooters(Sender: TObject); |
|
procedure Slot_removeRow(Sender: TObject); |
|
procedure AlignLeftAct(Sender: TObject); |
|
procedure AlignRightAct(Sender: TObject); |
|
procedure AlignCenterAct(Sender: TObject); |
|
procedure ZoomIn(Sender: TObject = nil); |
|
procedure ZoomOut(Sender: TObject = nil); |
|
procedure ExpandAll(Sender: TObject = nil); |
|
procedure CollapseAll(Sender: TObject = nil); |
|
procedure ExecuteFilterDialog(Sender: TObject = nil); |
|
function GetGroupColumnCount: Integer; |
|
function GetGroupColumnByIndex(GroupIndex: Integer): TFireGridColumnBase; |
|
function GetGroups: TFireGridColumns; |
|
procedure ClearGrouping; |
|
procedure PrintPreview; |
|
function IsFieldChooserVisible: Boolean; |
|
procedure ShowFieldChooser; |
|
procedure HideFieldChooser; |
|
procedure ShowFilterPanel; |
|
procedure HideFilterPanel; |
|
procedure ShowContextMenu(const ScreenPosition: TPoint); |
|
Properties
property ViewContextStates: TFireGridViewStates read FContextStates; |
|
property ModelController: TFireGridModelController read FModelController; |
|
property Layout: TFireGridViewGraphic read FViewGraphicPrimitive; |
|
property Grid: TFireCustomDataGrid read FGrid; |
|
property DataSource: TDataSource read GetDataSource write SetDataSource; |
|
property Options: TFireGridViewOptions read FOptions write SetOptions; |
|
property ActionList: TActionList read FActionList; |
|
property OnEditorCreate: TFireGridEditorNotifyEvent read FOnEditorCreate write FOnEditorCreate; |
|
property OnEditorDestroy: TFireGridEditorNotifyEvent read FOnEditorDestroy write FOnEditorDestroy; |
|
property OnEditorBeforeStart: TFireGridColumnEditorNotifyEvent read FOnEditorBeforeStart write FOnEditorBeforeStart; |
|
property OnEditorStart: TFireGridColumnEditorNotifyEvent read FOnEditorStart write FOnEditorStart; |
|
property OnEditorBeforeStop: TFireGridColumnEditorNotifyEvent read FOnEditorBeforeStop write FOnEditorBeforeStop; |
|
property OnEditorStop: TFireGridColumnEditorNotifyEvent read FOnEditorStop write FOnEditorStop; |
|
property OnEditorEditModeChange: TFireGridEditorNotifyEvent read FOnEditorEditModeChange write FOnEditorEditModeChange; |
|
property OnEditorModify: TFireGridEditorNotifyEvent read FOnEditorModify write FOnEditorModify; |
|
property OnEditorValidate: TFireGridEditorValidationNotifyEvent read FOnEditorValidate write FOnEditorValidate; |
|
property OnContextMenu: TFireGridContextMenuNotifyEvent read FOnContextMenu write FOnContextMenu; |
|
property OnError: TFireGridErrorNotifyEvent read FOnError write FOnError; |
|
property OnFilterActivate: TNotifyEvent read FOnFilterActivate write FOnFilterActivate; |
|
property OnFilterDeactivate: TNotifyEvent read FOnFilterDeactivate write FOnFilterDeactivate; |
|
property OnGroupBeforeExpand: TFireGridGroupStateBeforeNotifyEvent read FOnGroupBeforeExpand write FOnGroupBeforeExpand; |
|
property OnGroupExpand: TFireGridGroupStateNotifyEvent read FOnGroupExpand write FOnGroupExpand; |
|
property OnGroupBeforeCollapse: TFireGridGroupStateBeforeNotifyEvent read FOnGroupBeforeCollapse write FOnGroupBeforeCollapse; |
|
property OnGroupCollapse: TFireGridGroupStateNotifyEvent read FOnGroupCollapse write FOnGroupCollapse; |
|
property OnNewRowEditorClick: TFireGridNewRowNotifyEvent read FOnNewRowEditorClick write FOnNewRowEditorClick; |
|
property OnGrouping: TFireGridGroupingNotifyEvent read FOnGrouping write FOnGrouping; |
|
property OnSorting: TFireGridSortingNotifyEvent read FOnSorting write FOnSorting; |
|
property OnRelationConnect: TFireGridRelationNotifyEvent read FOnRelationConnect write FOnRelationConnect; |
|
property OnSummaryFooterText: TFireGridSummaryFooterTextNotifyEvent read FOnSummaryFooterText write FOnSummaryFooterText; |
|
property OnSummaryGroupText: TFireGridSummaryGroupTextNotifyEvent read FOnSummaryGroupText write FOnSummaryGroupText; |
|
property OnSummaryCalculate: TNotifyEvent read FOnSummaryCalculate write FOnSummaryCalculate; |
|
property OnSelectionChanged: TFireGridSelectionNotifyEvent read FOnSelectionChanged write FOnSelectionChanged; |
|
property OnFocusRowChange: TFireFocusRowChangeNotifyEvent read FOnFocusRowChange write FOnFocusRowChange; |
|
property OnFocusColumnChange: TFireFocusColumnChangeNotifyEvent read FOnFocusColumnChange write FOnFocusColumnChange; |
|
property OnRowClick: TFireRowClickEventNotify read FOnRowClick write FOnRowClick; |
|
property OnRowDblClick: TFireRowClickEventNotify read FOnRowDblClick write FOnRowDblClick; |
|
property OnCellClick: TFireCellClickEventNotify read FOnCellClick write FOnCellClick; |
|
property OnCellDblClick: TFireCellClickEventNotify read FOnCellDblClick write FOnCellDblClick; |
|
property OnCellButtonClick: TFireCellButtonClickNotifyEvent read FOnCellButtonClick write FOnCellButtonClick; |
|
property OnCellButtonStateChange: TFireCellButtonStateChangeNotifyEvent read FOnCellButtonStateChange write FOnCellButtonStateChange; |
|
property OnRowRemove: TFireRowRemovingEventNotify read FOnRowRemove write FOnRowRemove; |
|
Generated by PasDoc 0.15.0.