bindingInfo.setOption(name, value)

Specifies a grouping option.

Parameter

name the option name

value the option value

Example

Table1.bindingInfo.setOption('grandLabel', 'Total');

The valid option/value pairs are shown below.

Option Name

Option Value

grandLabel

Specify the label of the grand total.

Type

   String

Example

   Table1.bindingInfo.setOption
     ('grandLabel','Total');

grandTotal

Specify whether or not to add a grand total row.

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('grandTotal',true);

inPlaceHeader

Specify whether or not to use in-place group header (without additional row).

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('inPlaceHeader',true);

showGroupCols

Hide / unhide the group column contents.

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('showGroupCols',false);

summaryLabel

Set the summary row label.

Type

   string

Example

   Table1.bindingInfo.setOption
     ('summaryLabel', 'Summary');

summaryOnly

Set to true in order to display only the summary data.

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('summaryOnly', true);

setKeepHierarchy

Set to true to keep group hierarchy when only the summary data is being displayed.

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('setKeepHierarchy', true);

setMergeGroup­Cells

Set to true to merge all the cells from the same group into one span cell.

Type

   Boolean

Example

   Table1.bindingInfo.setOption
     ('setMergeGroupCells',true);

<< bindingInfo.setTopNSummaryCol(groupCol, col) © 1996-2013 InetSoft Technology Corporation (v11.5) SI.6.3 The groupedTable Property >>