workbook.Section
Object Description |
A section object which can be used when you create a data dimension, a dimension selector, a pivot axis, or a pivot. Use workbook.createSection(options) to create this object. A section object is used as a parameter in the workbook.createDataDimension(options), workbook.createPivotAxis(options), workbook.createSection(options) methods. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2020.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples. Also see Full scripts in the Tutorial: Creating a Workbook Using the Workbook API topic.
// Add additional code
...
var mySection = workbook.createSection({
children: [myDataDimension, myMeasure],
totalLine: workbook.TotalLine.HIDDEN
});
...
// Add additional code