Table of Contents
Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
This class does not expose any events.
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Constructor | rowCells as Dictionary isEnabled as Boolean = True rowTag as Variant = nil | None | Creates an instance of this class with the parameters as property values. |
Add | row as GraffitiGridRow | None | Adds the specified row as a child. |
AddAt | index as Integer row as GraffitiGridRow | None | Adds the specified row as a child at the provided index. |
Cell | Column as GraffitiWebGridColumn | Variant | Returns the row’s value for the defined column. |
Cell | Column as GraffitiWebGridColumn Assigns Value as Variant | None | Sets row’s value for the defined column. Should be used as myRow.Cell( myColumn ) = newValue |
CellStyle | Column as GraffitiGridColumn | GraffitiStyle | Returns the GraffitiStyle assigned to this cell. |
CellStyle | Column as GraffitiGridColumn, assigns style as GraffitiStyle | None | Assigns a GraffitiStyle to a cell. |
Clone | None | GraffitiGridRow | Creates a copy of the current row. Data objects will still be referenced, not cloned. |
IndexOf | row as GraffitiGridRow | Integer | Returns the index of the item in the child rows. |
Invalidate | None | None | Prompts the parent Grid to refresh this row in the display. Useful for updating the GraffitiGrid.FooterRow when changing other row values. |
ItemAt | index as Integer | GraffitiGridRow | Returns the child item at the specified index. |
LastIndex | None | Integer | Index of the last item in among the child rows. |
Remove | row as GraffitiGridRow | None | Removes the specified row from the child rows. |
RemoveAll | None | None | Removes all child rows. |
RemoveAt | index as Integer | None | Remove the child row at the specified index. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
ColSpanField | GraffitiWebGridColumn | Nil | The column to apply the span to. Only one ColSpan per row is supported. |
ColSpanLength | Integer | 1 | The number of columns to span with the value specified in ColSpanField. |
DatabaseRecord | DatabaseRow | Nil | The DatabaseRow from which this row was populated. Only assigned when using GraffitiGrid.AddRowSet. |
DatabaseRowSet | RowSet | Nil | The RowSet from which the row was loaded. Only assigned when using GraffitiGrid.AddRowSet. |
DatabaseRowSetIDField | String | “” | Table column to use as the unique index. |
DatabaseRowSetIDValue | Integer | 0 | Value of unique index. |
Enabled | Boolean | True | Determines whether this row’s cells will be editable when AutoEdit = True |
Expandable | Boolean | False | Determines whether this row can act as a parent for other rows. |
Expanded | Boolean | False | Determines the expansion state of this child in Tree mode. |
Height | Integer | -1 | Height of this row. -1 for default. |
ID Read-Only | String | “” | This is automatically generated by the Grid and should never be altered. |
Parent Read-Only | GraffitiWebGridRow | Nil | The parent of this row. |
ProgressIndicator | WebUIControl.Indicators | Default | Bootstrap indicator applied to the FormatTypes.Progress value. |
Selected | Boolean | False | True when the row is selected, False when not. Setting this value directly will update the Grid’s selection. |
Style | WebStyle | Nil | Style applied to cells in this row. Overrides everything except for style specified by AddCellStyle. |
Tag | Variant | Nil | Use for storing things like your database field key. This value has no functional application beyond being used for your reference. |
Examples #
There are currently no examples for this class.