Class PivotGroupLimit

Pivot Group Limit

Access and modify pivot table group limit.

Methods

Method Return type Brief description
Integer Gets the count limit on rows or columns in the pivot group.
Pivot Group Returns the pivot group the limit belongs to.
void Removes the pivot group limit.
Pivot Group Limit Sets the count limit on rows or columns in the pivot group.

Detailed documentation

get Count Limit()

Gets the count limit on rows or columns in the pivot group.

Return

Integer — The count limit on rows or columns.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

get Pivot Group()

Returns the pivot group the limit belongs to.

Return

Pivot Group — The pivot group.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

remove()

Removes the pivot group limit.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

set Count Limit(countLimit)

Sets the count limit on rows or columns in the pivot group.

Parameters

Name Type Description
count Limit
Integer The count limit on rows or columns to set. Must be positive.

Return

Pivot Group Limit — The pivot group limit, for chaining.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets
Create a Mobile Website
View Site in Mobile | Classic
Share by: