SetRowLabel (GridData) *

Introduced

4.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.

Scripting Syntax

GridData.SetRowLabel( RowIndex, [Label] )

C# Syntax

GridData.SetRowLabel( Int32 in_RowIndex, String in_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



Autodesk Softimage v7.5