Back to Devexpress

TdxSpreadSheetTableItemGroups.Find(Integer,Boolean) Method

vcl-dxspreadsheetcore-dot-tdxspreadsheettableitemgroups-dot-find-x28-system-dot-integer-system-dot-boolean-x29.md

latest1.8 KB
Original Source

TdxSpreadSheetTableItemGroups.Find(Integer,Boolean) Method

Returns the first table item group with the specified index within the hierarchy.

Declaration

delphi
function Find(AIndex: Integer; ARecursive: Boolean = True): TdxSpreadSheetTableItemGroup;

Parameters

NameType
AIndexInteger
ARecursiveBoolean

Returns

Type
TdxSpreadSheetTableItemGroup

Remarks

Use this function to obtain the column or row group whose zero-based index is passed as the AIndex parameter. By default, the Find function continues its search at the next nesting level if the specified group is not found at the current nesting level. The optional ARecursive parameter allows you to limit the scope of this function to the current (i.e., root) node.

If the Find function is unable to obtain the table item group with the specified index, it returns nil instead of the TdxSpreadSheetTableItemGroup class instance.

Note

If you need to start searching the specified group from a specific group within the hierarchy, use the table item group’s Find function.

See Also

TdxSpreadSheetTableItemGroups Class

TdxSpreadSheetTableItemGroups Members

dxSpreadSheetCore Unit