SpreadsheetDocument.ShowRowGroupLevel
Syntax:
Parameters:
<Level> (required)
Level to which you want to expand row groupings.
Description:
Availability:
Example:
// SprDocField - spreadsheet document field to display report result // Button name contains the level Procedure OpenLevel(Button) Level = Number(Mid(Button.Name, 2)) - 1; L = SprDocField.RowGroupLevelCount() - 1; While L > Level Do SprDocField.ShowRowGroupLevel(L); L = L - 1; EndDo; SprDocField.ShowRowGroupLevel(Level); EndProcedure |