Description | Hierarchy | Fields | Methods | Properties |
type TRbwRowDataGrid = class(TCustomRBWDataGrid)
TRbwRowDataGrid
is a TStringGrid that restricts the data displayed in a cell based on the Format of the TRbwRow associated with the cell. Cells can also display a combobox or button in a cell
.
FColumns: TAutoAdjustColumns; |
|
FFixedRows: integer; |
|
FRows: TRbwDataGridRows; |
|
FUpdateCount: Integer; |
procedure SetColumns(const Value: TAutoAdjustColumns); |
|
procedure SetRows(const Value: TRbwDataGridRows); |
|
function ShouldAdujstColWidths(ACol: integer): boolean; override; |
|
function CollectionItem(const ACol, ARow: Longint): TCustomRowOrColumn; override; |
|
function ColumnOrRow: integer; override; |
|
function ColorSelectedRowOrColumn(ACol, ARow: integer): boolean; override; |
|
function CreateColumns: TAutoAdjustColumns; dynamic; |
|
function CreateRows: TRbwDataGridRows; dynamic; |
|
function GetFixedRows: integer; virtual; |
|
function IsCaptionCell(ACol, ARow: integer): boolean; override; |
|
procedure AdjustColWidths(const ACol: integer); override; |
|
procedure AdjustRowHeights(const ARow: integer); override; |
|
procedure ColumnMoved(FromIndex, ToIndex: Longint); override; |
|
procedure Loaded; override; |
|
procedure RowMoved(FromIndex, ToIndex: Longint); override; |
|
procedure SetFixedRows(const Value: integer); virtual; |
|
procedure SizeChanged(OldColCount, OldRowCount: Longint); override; |
|
procedure BeginUpdate; override; |
|
procedure EndUpdate; override; |
|
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
procedure DeleteColumn(ACol: Longint); override; |
|
procedure DeleteRow(ARow: Longint); override; |
|
procedure InsertColumn(ACol: Integer); override; |
|
procedure InsertRow(ARow: Integer); override; |
property ColorSelectedColumn : boolean read FColorSelectedColumnOrRow
write SetColorSelectedColumnOrRow; |
|
property Columns: TAutoAdjustColumns read FColumns write SetColumns; |
|
property FixedRows: integer read GetFixedRows write SetFixedRows; |
|
property Rows: TRbwDataGridRows read FRows write SetRows; |
FColumns: TAutoAdjustColumns; |
|
See Columns. |
FFixedRows: integer; |
|
See FixedRows. |
FRows: TRbwDataGridRows; |
|
See Rows. |
FUpdateCount: Integer; |
|
procedure SetColumns(const Value: TAutoAdjustColumns); |
|
See Columns. |
procedure SetRows(const Value: TRbwDataGridRows); |
|
See Rows. |
function ShouldAdujstColWidths(ACol: integer): boolean; override; |
|
function CollectionItem(const ACol, ARow: Longint): TCustomRowOrColumn; override; |
|
|
function ColumnOrRow: integer; override; |
|
function ColorSelectedRowOrColumn(ACol, ARow: integer): boolean; override; |
|
function CreateColumns: TAutoAdjustColumns; dynamic; |
|
|
function CreateRows: TRbwDataGridRows; dynamic; |
|
|
function GetFixedRows: integer; virtual; |
|
See FixedRows. |
function IsCaptionCell(ACol, ARow: integer): boolean; override; |
|
procedure AdjustColWidths(const ACol: integer); override; |
|
|
procedure AdjustRowHeights(const ARow: integer); override; |
|
procedure ColumnMoved(FromIndex, ToIndex: Longint); override; |
|
|
procedure Loaded; override; |
|
|
procedure RowMoved(FromIndex, ToIndex: Longint); override; |
|
|
procedure SetFixedRows(const Value: integer); virtual; |
|
See FixedRows. |
procedure SizeChanged(OldColCount, OldRowCount: Longint); override; |
|
|
procedure BeginUpdate; override; |
|
procedure EndUpdate; override; |
|
constructor Create(AOwner: TComponent); override; |
|
|
destructor Destroy; override; |
|
|
procedure DeleteColumn(ACol: Longint); override; |
|
procedure DeleteRow(ARow: Longint); override; |
|
procedure InsertColumn(ACol: Integer); override; |
|
Use |
procedure InsertRow(ARow: Integer); override; |
|
Use |
property ColorSelectedColumn : boolean read FColorSelectedColumnOrRow
write SetColorSelectedColumnOrRow; |
|
property Columns: TAutoAdjustColumns read FColumns write SetColumns; |
|
|
property FixedRows: integer read GetFixedRows write SetFixedRows; |
|
|
property Rows: TRbwDataGridRows read FRows write SetRows; |
|
|