GraffitiGridRow

View Categories

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

This class does not expose any events.

Methods #

NameParametersReturn TypeDescription
ConstructorrowCells as Dictionary
isEnabled as Boolean = True
rowTag as Variant = nil
NoneCreates an instance of this class with the parameters as property values.
Addrow as GraffitiGridRowNoneAdds the specified row as a child.
AddAtindex as Integer
row as GraffitiGridRow
NoneAdds the specified row as a child at the provided index.
CellColumn as GraffitiWebGridColumnVariantReturns the row’s value for the defined column.
CellColumn as GraffitiWebGridColumn
Assigns Value as Variant
NoneSets row’s value for the defined column. Should be used as myRow.Cell( myColumn ) = newValue
CellStyleColumn as GraffitiGridColumnGraffitiStyleReturns the GraffitiStyle assigned to this cell.
CellStyleColumn as GraffitiGridColumn, assigns style as GraffitiStyleNoneAssigns a GraffitiStyle to a cell.
CloneNoneGraffitiGridRowCreates a copy of the current row. Data objects will still be referenced, not cloned.
IndexOfrow as GraffitiGridRowIntegerReturns the index of the item in the child rows.
InvalidateNoneNonePrompts the parent Grid to refresh this row in the display. Useful for updating the GraffitiGrid.FooterRow when changing other row values.
ItemAtindex as IntegerGraffitiGridRowReturns the child item at the specified index.
LastIndexNoneIntegerIndex of the last item in among the child rows.
Removerow as GraffitiGridRowNoneRemoves the specified row from the child rows.
RemoveAllNoneNoneRemoves all child rows.
RemoveAtindex as IntegerNoneRemove the child row at the specified index.

Properties #

NameTypeDefault ValueDescription
ColSpanFieldGraffitiWebGridColumnNilThe column to apply the span to. Only one ColSpan per row is supported.
ColSpanLengthInteger1The number of columns to span with the value specified in ColSpanField.
DatabaseRecordDatabaseRowNilThe DatabaseRow from which this row was populated. Only assigned when using GraffitiGrid.AddRowSet.
DatabaseRowSetRowSetNilThe RowSet from which the row was loaded. Only assigned when using GraffitiGrid.AddRowSet.
DatabaseRowSetIDFieldString“”Table column to use as the unique index.
DatabaseRowSetIDValueInteger0Value of unique index.
EnabledBooleanTrueDetermines whether this row’s cells will be editable when AutoEdit = True
ExpandableBooleanFalseDetermines whether this row can act as a parent for other rows.
ExpandedBooleanFalseDetermines the expansion state of this child in Tree mode.
HeightInteger-1Height of this row. -1 for default.
ID Read-OnlyString“”This is automatically generated by the Grid and should never be altered.
Parent Read-OnlyGraffitiWebGridRowNilThe parent of this row.
ProgressIndicatorWebUIControl.IndicatorsDefaultBootstrap indicator applied to the FormatTypes.Progress value.
SelectedBooleanFalseTrue when the row is selected, False when not. Setting this value directly will update the Grid’s selection.
StyleWebStyleNilStyle applied to cells in this row. Overrides everything except for style specified by AddCellStyle.
TagVariantNilUse 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.