ListItem.getSubItem

Overview | Methods | This Package | All Packages

ListItem.getSubItem

Retrieves the specified subitem for this item.

Syntax

public String getSubItem( int index )

Parameters

index

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

Return Value

Returns the text for the specified subitem.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

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   setSubItem