GraffitiSuite Docs
Docs
Graffitigridcolumn
Loading document parsing libraries...
# GraffitiGridColumn Class ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | False | True | ### iOS | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | Alignments | Left <br > Center <br > Right | Supported cell alignment values. | | SortDirections | Unsorted <br > Ascending <br > Descending | Supported sort directions. | | SortResults | LessThan <br > EqualTo <br > GreaterThan | Sort comparison result values. | ## Delegates | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | SortFunction | value1 as Variant <br> value2 as Variant | SortResults | Delegate function definition for sorting methods. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | name as String <br> text as String <br> width as String = "*" | (None) | Creates a new instance. | | Destroy | (None) | (None) | Removes all outside references and readies the column for deconstruction. | | Invalidate | (None) | (None) | Invalidates the column's cached Pictures to be redrawn upon the next parent GraffitiGrid's refresh. | | Sort | direction as GraffitiGridColumn.SortDirections | (None) | Sorts the column. | ## Shared Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | SortBoolean | value1 as Variant <br> value2 as Variant | GraffitiGridColumn.SortResults | A basic Boolean sorting algorithm for use in SortDelegate properties. | | SortColor | value1 as Variant <br> value2 as Variant | GraffitiGridColumn.SortResults | A basic Color sorting algorithm for use in SortDelegate properties. | | SortNumeric | value1 as Variant <br> value2 as Variant | GraffitiGridColumn.SortResults | A basic numeric sorting algorithm for use in SortDelegate properties. | | SortString | value1 as Variant <br> value2 as Variant | GraffitiGridColumn.SortResults | A basic String sorting algorithm for use in SortDelegate properties. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | ActualWidth | Double | (None) | Actual width of the column within its parent GraffitiGrid's viewport. | | Alignment | Alignments | (None) | The justification of the column's contents. | | Attributes | image | Picture | (None) | | Attributes | mCellEditor | GraffitiGridCellEditor | (None) | | Attributes | mCellRenderer | GraffitiGridCellRenderer | (None) | | Attributes | mFontName | String | (None) | | Attributes | mFontSize | Integer | (None) | | Attributes | mFontStyle | GraffitiUIControl.FontStyles | (None) | | Attributes | mFrozen | Boolean | (None) | | Attributes | mMinimumWidth | Integer | (None) | | Attributes | mObserver | GraffitiUpdateInterface | (None) | | Attributes | mSortDirection | GraffitiGridColumn.SortDirections | (None) | | Attributes | mText | String | (None) | | Attributes | mTextColor | ColorGroup | (None) | | Attributes | mVisible | Boolean | (None) | | Attributes | needsRedraw | Boolean | (None) | | Attributes | mBackgroundColor | ColorGroup | (None) | | Attributes | mAlignment | Alignments | (None) | | Attributes | mActualWidth | Double | (None) | | BackgroundColor | ColorGroup | (None) | ColorGroup used to draw the background of the column's header and cells. | | CanSort | Boolean | (None) | Allows the column to be sorted by the user. | | CellEditor | GraffitiGridCellEditor | (None) | GraffitiGridCellEditor controller used for edit operations of cells within this column. | | CellRenderer | GraffitiGridCellRenderer | (None) | GraffitiGridCellRenderer class instance used for drawing column cell contents. | | FontName | String | (None) | Font name used for drawing header and cells. | | FontSize | Integer | (None) | Text font size used for drawing. | | FontStyle | GraffitiUIControl.FontStyles | (None) | Style of font used to draw text content. | | Frozen | Boolean | (None) | Controls whether the column is always drawn in a left-hand pane and scrolled independently of non-frozen columns. | | MinimumWidth | Integer | (None) | Minimum allowed width for column. | | Name | String | (None) | Column name used for data association. | | SortDelegate | SortFunction | (None) | Function to use for sorting operations. | | SortDirection | GraffitiGridColumn.SortDirections | (None) | Current direction of the column's sort. | | Tag | Variant | (None) | Developer storage. | | Text | String | (None) | Text to display in the column's header. | | TextColor | ColorGroup | (None) | ColorGroup applied to column's default text drawing. | | Visible | Boolean | (None) | Controls whether the column is visible within its parent GraffitiGrid's viewport. | | Width | String | (None) | 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. |