ListItem.setSubItem

Overview | Methods | This Package | All Packages

ListItem.setSubItem

Sets the text for the specified subitem.

Syntax

public void setSubItem( int index, String text )

Parameters

index

The zero-based index of the subitem whose text you want to set.

text

The text for the specified subitem.

Exceptions

WFCInvalidArgumentException thrown if the specified index is less than zero (0).

Remarks

For a subitem to be visible, the list view control must be in Report view, and a column must exist to display the subitem. To add a column to a list view control, use the addColumn, insertColumn, or setColumns method of the ListView control.

See Also   getSubItem