GridData.SetRowLabel operator

Introduced

v4.0

Description

Sets the label for a Row. Labels are optional. The visual appearance of row labels can be tweaked with the siUIGridHideRowHeader and siUIGridLockRowHeader attributes (see siPPGItemAttribute). Once labels are specified it is possible to access data via the labels rather than the cell index in methods like GridData.SetCell.

C# Syntax

GridData.SetRowLabel( Int32 in_RowIndex, String in_Label );

Scripting Syntax

GridData.SetRowLabel( RowIndex, [Label] );

Parameters

Parameter Type Description
RowIndex long Index of the Row. The top row has index 0.
Label String New Label, or an empty string to remove the label

See Also

GridData.GetRowLabel GridData.SetColumnLabel