TdxSpreadSheetTableItemGroups.Find(Integer,Boolean) Method
Returns the first table item group with the specified index within the hierarchy.
Declaration
function Find(AIndex: Integer; ARecursive: Boolean = True): TdxSpreadSheetTableItemGroup;
Parameters
Name | Type |
---|---|
AIndex | Integer |
ARecursive | Boolean |
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.