GraffitiGridColumn

View Categories

Delegates #

NameParametersReturn TypeDescription
SortFunctionvalue1 as Variant
value2 as Variant
GraffitiGridColumn.SortResultsDelegate function definition for sorting methods.

Enumerations #

NameValues
AlignmentsLeft
Center
Right
SortDirectionsUnsorted
Ascending
Descending
SortResultsLessThan
EqualTo
GreaterThan

Constants #

This object exposes no constants.

Events #

This object exposes no events.

Methods #

NameParametersReturn TypeDescription
Constructortext as String
width as String = “*”
NoneCreates a new instance.
DestroyNoneNoneRemoves all outside references and readies the column for deconstruction.
InvalidateNoneNoneInvalidates the column’s cached Pictures to be redrawn upon the next parent GraffitiGrid’s refresh.
Sortdirection as GraffitiGridColumn.SortDirectionsNoneSorts the column.

Properties #

NameTypeDefault ValueDescription
ActualWidth (READ ONLY)Double0Actual width of the column within its parent GraffitiGrid’s viewport.
AlignmentAlignmentsAlignments.LeftThe justification of the column’s contents.
BackgroundColorColorGroupNilColorGroup used to draw the background of the column’s header and cells.
CanSortBooleanFalseAllows the column to be sorted by the user.
CellEditorGraffitiGridCellEditorNilGraffitiGridCellEditor controller used for edit operations of cells within this column.
CellRendererGraffitiGridCellRendererNilGraffitiGridCellRenderer class instance used for drawing column cell contents.
FontNameString“System”Font name used for drawing header and cells.
Font SizeInteger0Size of font drawing contents.
FontStyleFontStylesFontStyles.NoneStyle of font used to draw text content.
FrozenBooleanFalseControls whether the column is always drawn in a left-hand pane and scrolled independently of non-frozen columns.
MinimumWidthInteger0Minimum allowed width for column.
SortDelegateSortFunctionNilFunction to use for sorting operations.
SortDirectionSortDirectionsSortDirections.UnsetCurrent direction of the column’s sort.
TagVariantNilDeveloper storage.
TextString“”Text to display in the column’s header.
TextColorColorGroupNilColorGroup applied to column’s default text drawing.
VisibleBooleanTrueControls whether the column is visible within its parent GraffitiGrid’s viewport.
WidthString“*”Width of the column. Valid values:
100 = Actual width in points.
10% = Percentage width of parent GraffitiGrid’s entire viewport.
* = Split value among all columns without an otherwise set width.

Shared Methods #

NameParametersReturn TypeDescription
SortBooleanvalue1 as Variant
value2 as Variant
GraffitiGridColumn.SortResultsA basic Boolean sorting algorithm for use in SortDelegate properties.
SortColorvalue1 as Variant
value2 as Variant
GraffitiGridColumn.SortResultsA basic Color sorting algorithm for use in SortDelegate properties.
SortNumericvalue1 as Variant
value2 as Variant
GraffitiGridColumn.SortResultsA basic numeric sorting algorithm for use in SortDelegate properties.
SortStringvalue1 as Variant
value2 as Variant
GraffitiGridColumn.SortResultsA basic String sorting algorithm for use in SortDelegate properties.