Class TFireGridTableView
Unit
Declaration
type TFireGridTableView = class(TFireGridViewBase)
Description
No description available, ancestor TFireGridViewBase description follows
Hierarchy
- TObject
- TPersistent
- TComponent
- TFireGridViewBase
- TFireGridTableView
Overview
Nested Classes and Records
ColumnLayoutItem = record |
Nested Types
TFireGridColumnSet = TDictionary<TFireGridTableColumn, Integer>; |
Fields
FColumnVisualIndexies: TFireGridColumns; |
|
FVisibleColumnCount: Integer; |
|
FChangedColumnVisualIndex: Integer; |
Methods
function AddColumn(const modelColumnName: String; const caption: String = ''): TFireGridTableColumn; overload; |
|
function AddColumn(modelColumn: Integer; const caption: String = ''): TFireGridTableColumn; overload; |
|
procedure EditorRepositoryChanged(Repository: TFireGridEditorRepositoryAbstract); override; |
|
procedure ColumnsChanged; override; |
|
procedure TextAlignmentChanged(ColumnBase: TFireGridColumnBase); override; |
|
procedure FilterChanged; override; |
|
function CreateNativeDragDropObject(const Pos: TPoint): TFireNativeDragObject; override; |
|
function IsLayoutLoading: Boolean; |
|
procedure NavigatePageUp(Modifiers: TShiftState = []); virtual; |
|
procedure NavigatePageDown(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateUp(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateDown(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateLeft(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateRight(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateTab(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateBacktab(Modifiers: TShiftState = []); virtual; |
|
function GetFirstColumn: TFireGridTableColumn; virtual; |
|
function GetLastColumn: TFireGridTableColumn; virtual; |
|
function GetNextColumn(const Anchor: TFireGridTableColumn): TFireGridTableColumn; virtual; |
|
function GetPrevColumn(const Anchor: TFireGridTableColumn): TFireGridTableColumn; virtual; |
|
procedure SelectRow(RowIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure SelectRowRange(FirstRowIndex: Integer; LastRowIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure SelectRange(FirstRowIndex: Integer; LastRowIndex: Integer; FirstColumnIndex: Integer; LastColumnIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure ScrollToRow(Row: PFireGridRow; TopPosition: Boolean = True); |
|
procedure ScrollToIndex(const index: TModelIndex; topPosition: Boolean = true); |
|
function IsRowShowing(Row: PFireGridRow): Boolean; |
|
procedure SelectAll; |
|
procedure DeselectAll; |
|
function GetSelection: TFireGridSelection; |
|
procedure ShowSummaryContextMenu(const Pos: TPoint); |
|
constructor CreateInstance(Grid: TFireCustomDataGrid); override; |
|
destructor Destroy; override; |
|
function IsShowingOnView(Column: TFireGridTableColumnBase): Boolean; |
|
function IsCellFocused(RowIndex: Integer; ColumnIndex: Integer): Boolean; |
|
procedure Initialize; override; |
|
procedure Finalize; override; |
|
function GetColumnGroupIndex(const Column: TFireGridColumnBase): Integer; override; |
|
procedure SetColumnGroupIndex(Column: TFireGridColumnBase; GroupIndex: Integer; caseSensitivity: Boolean; localeAware: Boolean); override; |
|
procedure SetColumnWidth(Column: TFireGridTableColumnBase; const NewWidth: Single); |
|
function CreateEditorRepository(const Column: TFireGridTableColumn): TFireGridEditorRepositoryAbstract; |
|
function GetVisualIndex(const ColumnBase: TFireGridTableColumnBase): Integer; virtual; |
|
procedure SetVisualIndex(const TableColumn: TFireGridTableColumnBase; VisualIndex: Integer); virtual; |
|
function GetColumnRowSpan(const Column: TFireGridTableColumn): Integer; virtual; |
|
procedure SetColumnRowSpan(const Column: TFireGridTableColumn; RowSpan: Integer); virtual; |
|
function GetColumnRowIndex(const Column: TFireGridTableColumn): Integer; virtual; |
|
function GetPrevious(const TableColumn: TFireGridTableColumnBase): TFireGridTableColumnBase; |
|
function GetNext(const TableColumn: TFireGridTableColumnBase): TFireGridTableColumnBase; |
|
function GetPreviousResizeColumn(const Column: TFireGridTableColumnBase): TFireGridTableColumnBase; virtual; |
|
function GetNextResizeColumn(const Column: TFireGridTableColumnBase): TFireGridTableColumnBase; virtual; |
|
function IsVerticalResizable(const ColumnBase: TFireGridTableColumnBase): Boolean; virtual; |
|
function IsHorizontalResizable(const ColumnBase: TFireGridTableColumnBase): Boolean; virtual; |
|
function GetColumnFixedKind(const columnBase: TFireGridTableColumnBase): TFireGridColumnFixedKind; virtual; |
|
procedure SetColumnFixedKind(const ColumnBase: TFireGridTableColumnBase; Kind: TFireGridColumnFixedKind); virtual; |
|
procedure GetColumnLine(const Column: TFireGridColumnBase; var RetVal: TFireGridColumns); virtual; |
|
function GetMaximumVisualIndex(const Anchor: TFireGridTableColumnBase): Integer; virtual; |
|
procedure ColumnWidthChanged(const Column: TFireGridColumnBase); override; |
|
function GetColumnViewWidth(const Column: TFireGridTableColumnBase): Integer; virtual; |
|
function CalculateMinWidth(const ColumnBase: TFireGridColumnBase): Single; virtual; |
|
function CalculateMaxWidth(const ColumnBase: TFireGridColumnBase): Single; virtual; |
|
procedure SetColumnVisible(ColumnBase: TFireGridColumnBase; Visible: Boolean); override; |
|
function CreateOptions: TFireGridViewOptions; override; |
|
procedure UpdateViewFixedMask; virtual; |
|
procedure UpdateViewFixedMaskEx(LeftIndent: Integer; RightIndent: Integer); |
|
function GetQuickButtonIndent: Integer; virtual; |
|
procedure GetFixedColumns(var Left: TFireGridTableColumnBase; var Right: TFireGridTableColumnBase); virtual; |
|
function CheckRemove(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckMove(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckHorSizing(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckGrouping(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function GetColumnHeight(const ColumnBase: TFireGridColumnBase): Integer; virtual; |
|
function ActualWidth: Integer; |
|
procedure ResetModelHeight(); override; |
|
procedure CalculateScrollViewHeight; |
|
function GetModelHeight: Integer; |
|
function GetRowLeftIndent(gridRow: PFireGridRow): Integer; |
|
function GetColumnHeaderTop: Integer; |
|
function GetColumnHeaderWidth: Integer; |
|
function GetColumnHeaderHeight: Integer; |
|
procedure UpdateRowsOld(ForceUpdate: Boolean = False); override; |
|
procedure CreateSummaryActions(SummaryActions: TDictionary<TFireGridSummaryType, TFireAction>; Cell: TFireGridTableSummaryCellGraphic); |
|
procedure SelectColumnRange(FirstRow: PFireGridRow; LastRow: PFireGridRow; const Columns: TList<TFireGridTableColumn>; Operation: TFireGridSelectionOperation); |
|
function RowsLayoutEngine: TFireGridVirtualRowsLayout; |
|
function GetComponentName: String; override; |
|
function CreateColumn(const ModelColumn: Integer; const Caption: String): TFireGridColumnBase; override; |
|
function CreateLayout: TFireGridViewGraphic; override; |
|
function StretchColumns(const cols: TFireGridColumns; visualIndex: Integer; Width: Integer): Boolean; |
|
function HasGroupingIndent(const Column: TFireGridTableColumnBase): Boolean; virtual; |
|
function GetColumnLineCount(): Integer; virtual; |
|
function GetAutoHeightRowCount(var rowCount: Integer): Boolean; |
|
procedure CalculateGridRowAutoHeight(GridRow: PFireGridRow; Heights: PAutoHeightData); |
|
procedure UpdateAutoHeight; |
|
procedure EditorChanging(const column: TFireGridTableColumn; reset: Boolean); |
|
function BuildColumnFilters: Boolean; override; |
|
procedure DestroyColumnFilters; override; |
|
procedure ShowRowOnScreen(OldRowIndex: Integer; NewRowIndex: Integer); override; |
|
procedure ShowColumnOnScreen(OldColumnIndex: Integer; ColumnIndex: Integer); override; |
|
procedure UpdateFocusedGP; override; |
|
function SaveLayoutToXML(Node: IXMLNode): Boolean; override; |
|
function LoadLayoutFromXML(Node: IXMLNode): Boolean; override; |
|
function LoadColumnBaseLayout(Column: TFireGridTableColumnBase; Node: IXMLNode): Boolean; |
|
function SaveColumnBaseLayout(const Column: TFireGridTableColumnBase; Node: IXMLNode): Boolean; |
|
function SaveTableColumnLayout(const Column: TFireGridTableColumn; Node: IXMLNode): Boolean; virtual; |
|
function LoadTableColumnLayout(Column: TFireGridTableColumn; Node: IXMLNode): Boolean; virtual; |
Description
Nested Types
TFireGridColumnSet = TDictionary<TFireGridTableColumn, Integer>; |
|
Fields
FColumnVisualIndexies: TFireGridColumns; |
|
FVisibleColumnCount: Integer; |
|
FChangedColumnVisualIndex: Integer; |
|
Methods
function AddColumn(const modelColumnName: String; const caption: String = ''): TFireGridTableColumn; overload; |
|
function AddColumn(modelColumn: Integer; const caption: String = ''): TFireGridTableColumn; overload; |
|
procedure EditorRepositoryChanged(Repository: TFireGridEditorRepositoryAbstract); override; |
|
procedure ColumnsChanged; override; |
|
procedure TextAlignmentChanged(ColumnBase: TFireGridColumnBase); override; |
|
procedure FilterChanged; override; |
|
function CreateNativeDragDropObject(const Pos: TPoint): TFireNativeDragObject; override; |
|
function IsLayoutLoading: Boolean; |
|
procedure NavigatePageUp(Modifiers: TShiftState = []); virtual; |
|
procedure NavigatePageDown(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateUp(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateDown(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateLeft(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateRight(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateTab(Modifiers: TShiftState = []); virtual; |
|
procedure NavigateBacktab(Modifiers: TShiftState = []); virtual; |
|
function GetFirstColumn: TFireGridTableColumn; virtual; |
|
function GetLastColumn: TFireGridTableColumn; virtual; |
|
function GetNextColumn(const Anchor: TFireGridTableColumn): TFireGridTableColumn; virtual; |
|
function GetPrevColumn(const Anchor: TFireGridTableColumn): TFireGridTableColumn; virtual; |
|
procedure SelectRow(RowIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure SelectRowRange(FirstRowIndex: Integer; LastRowIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure SelectRange(FirstRowIndex: Integer; LastRowIndex: Integer; FirstColumnIndex: Integer; LastColumnIndex: Integer; const Operation: TFireGridSelectionOperation = [sopSelect]); |
|
procedure ScrollToRow(Row: PFireGridRow; TopPosition: Boolean = True); |
|
procedure ScrollToIndex(const index: TModelIndex; topPosition: Boolean = true); |
|
function IsRowShowing(Row: PFireGridRow): Boolean; |
|
procedure SelectAll; |
|
procedure DeselectAll; |
|
function GetSelection: TFireGridSelection; |
|
procedure ShowSummaryContextMenu(const Pos: TPoint); |
|
constructor CreateInstance(Grid: TFireCustomDataGrid); override; |
|
destructor Destroy; override; |
|
function IsShowingOnView(Column: TFireGridTableColumnBase): Boolean; |
|
function IsCellFocused(RowIndex: Integer; ColumnIndex: Integer): Boolean; |
|
procedure Initialize; override; |
|
procedure Finalize; override; |
|
function GetColumnGroupIndex(const Column: TFireGridColumnBase): Integer; override; |
|
procedure SetColumnGroupIndex(Column: TFireGridColumnBase; GroupIndex: Integer; caseSensitivity: Boolean; localeAware: Boolean); override; |
|
procedure SetColumnWidth(Column: TFireGridTableColumnBase; const NewWidth: Single); |
|
function CreateEditorRepository(const Column: TFireGridTableColumn): TFireGridEditorRepositoryAbstract; |
|
function GetVisualIndex(const ColumnBase: TFireGridTableColumnBase): Integer; virtual; |
|
procedure SetVisualIndex(const TableColumn: TFireGridTableColumnBase; VisualIndex: Integer); virtual; |
|
function GetColumnRowSpan(const Column: TFireGridTableColumn): Integer; virtual; |
|
procedure SetColumnRowSpan(const Column: TFireGridTableColumn; RowSpan: Integer); virtual; |
|
function GetColumnRowIndex(const Column: TFireGridTableColumn): Integer; virtual; |
|
function GetPrevious(const TableColumn: TFireGridTableColumnBase): TFireGridTableColumnBase; |
|
function GetNext(const TableColumn: TFireGridTableColumnBase): TFireGridTableColumnBase; |
|
function GetPreviousResizeColumn(const Column: TFireGridTableColumnBase): TFireGridTableColumnBase; virtual; |
|
function GetNextResizeColumn(const Column: TFireGridTableColumnBase): TFireGridTableColumnBase; virtual; |
|
function IsVerticalResizable(const ColumnBase: TFireGridTableColumnBase): Boolean; virtual; |
|
function IsHorizontalResizable(const ColumnBase: TFireGridTableColumnBase): Boolean; virtual; |
|
function GetColumnFixedKind(const columnBase: TFireGridTableColumnBase): TFireGridColumnFixedKind; virtual; |
|
procedure SetColumnFixedKind(const ColumnBase: TFireGridTableColumnBase; Kind: TFireGridColumnFixedKind); virtual; |
|
procedure GetColumnLine(const Column: TFireGridColumnBase; var RetVal: TFireGridColumns); virtual; |
|
function GetMaximumVisualIndex(const Anchor: TFireGridTableColumnBase): Integer; virtual; |
|
procedure ColumnWidthChanged(const Column: TFireGridColumnBase); override; |
|
function GetColumnViewWidth(const Column: TFireGridTableColumnBase): Integer; virtual; |
|
function CalculateMinWidth(const ColumnBase: TFireGridColumnBase): Single; virtual; |
|
function CalculateMaxWidth(const ColumnBase: TFireGridColumnBase): Single; virtual; |
|
procedure SetColumnVisible(ColumnBase: TFireGridColumnBase; Visible: Boolean); override; |
|
function CreateOptions: TFireGridViewOptions; override; |
|
procedure UpdateViewFixedMask; virtual; |
|
procedure UpdateViewFixedMaskEx(LeftIndent: Integer; RightIndent: Integer); |
|
function GetQuickButtonIndent: Integer; virtual; |
|
procedure GetFixedColumns(var Left: TFireGridTableColumnBase; var Right: TFireGridTableColumnBase); virtual; |
|
function CheckRemove(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckMove(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckHorSizing(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function CheckGrouping(const ColumnBase: TFireGridColumnBase): Boolean; override; |
|
function GetColumnHeight(const ColumnBase: TFireGridColumnBase): Integer; virtual; |
|
function ActualWidth: Integer; |
|
procedure ResetModelHeight(); override; |
|
procedure CalculateScrollViewHeight; |
|
function GetModelHeight: Integer; |
|
function GetRowLeftIndent(gridRow: PFireGridRow): Integer; |
|
function GetColumnHeaderTop: Integer; |
|
function GetColumnHeaderWidth: Integer; |
|
function GetColumnHeaderHeight: Integer; |
|
procedure UpdateRowsOld(ForceUpdate: Boolean = False); override; |
|
procedure CreateSummaryActions(SummaryActions: TDictionary<TFireGridSummaryType, TFireAction>; Cell: TFireGridTableSummaryCellGraphic); |
|
procedure SelectColumnRange(FirstRow: PFireGridRow; LastRow: PFireGridRow; const Columns: TList<TFireGridTableColumn>; Operation: TFireGridSelectionOperation); |
|
function RowsLayoutEngine: TFireGridVirtualRowsLayout; |
|
function GetComponentName: String; override; |
|
function CreateColumn(const ModelColumn: Integer; const Caption: String): TFireGridColumnBase; override; |
|
function CreateLayout: TFireGridViewGraphic; override; |
|
function StretchColumns(const cols: TFireGridColumns; visualIndex: Integer; Width: Integer): Boolean; |
|
function HasGroupingIndent(const Column: TFireGridTableColumnBase): Boolean; virtual; |
|
function GetColumnLineCount(): Integer; virtual; |
|
function GetAutoHeightRowCount(var rowCount: Integer): Boolean; |
|
procedure CalculateGridRowAutoHeight(GridRow: PFireGridRow; Heights: PAutoHeightData); |
|
procedure UpdateAutoHeight; |
|
procedure EditorChanging(const column: TFireGridTableColumn; reset: Boolean); |
|
function BuildColumnFilters: Boolean; override; |
|
procedure DestroyColumnFilters; override; |
|
procedure ShowRowOnScreen(OldRowIndex: Integer; NewRowIndex: Integer); override; |
|
procedure ShowColumnOnScreen(OldColumnIndex: Integer; ColumnIndex: Integer); override; |
|
procedure UpdateFocusedGP; override; |
|
function SaveLayoutToXML(Node: IXMLNode): Boolean; override; |
|
function LoadLayoutFromXML(Node: IXMLNode): Boolean; override; |
|
function LoadColumnBaseLayout(Column: TFireGridTableColumnBase; Node: IXMLNode): Boolean; |
|
function SaveColumnBaseLayout(const Column: TFireGridTableColumnBase; Node: IXMLNode): Boolean; |
|
function SaveTableColumnLayout(const Column: TFireGridTableColumn; Node: IXMLNode): Boolean; virtual; |
|
function LoadTableColumnLayout(Column: TFireGridTableColumn; Node: IXMLNode): Boolean; virtual; |
|
Generated by PasDoc 0.15.0.