SetRowsToDisplayTolerance Method (Python)
Sets the widow/orphan tolerance to be used when displaying the table a fixed number of rows at a time (as set by the DisplayTableByRows method). The default is 0.
- If a break between blocks of rows leaves widow rows equal to or less than the specified tolerance, then the break point is shifted up in the table to display those rows in the next block.
- If a break between blocks of rows leaves orphan rows equal to or less than the specified tolerance, then the break point is shifted down in the table to display those rows in the previous block.
- If a break between blocks of rows leaves both widow and orphan rows equal to or less than the specified tolerance, then the break point is shifted up in the table to display the widow rows in the next block.
Note: This method is only available for legacy tables. See the topic Compatibility with previous releases for more information.
Syntax
SpssPivotTable.SetRowsToDisplayTolerance(number)
Parameters
number. An integer specifying the widow/orphan tolerance.