TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Crosstab > CrosstabValue > Method >

 

GetSummary

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Crosstab > CrosstabValue > Method >

 

GetSummary

 

 

Gets the summary value.

 

 

 

Prototype :

 

double GetSummary

(

        string SummaryType,

        array RowPivots,

        array ColumnPivots

)

 

7

 

Arguments :

 

SummaryType

refer to SummaryTypeConst

RowPivots

array of pivot row index or pivot row value

ColumnPivots

array of pivot column index or pivot column value

 

 

 

Example :

 

var RowPivots = new Array();

var ColumnPivots = new Array();

RowPivots[0] = 0;

ColumnPivots[0] = 0;

_TraceLn(This.GetSummary("Sum", RowPivots, ColumnPivots));

 

var RowPivots = new Array();

var ColumnPivots = new Array();

RowPivots[0] = "Gangnam";

RowPivots[1] = "3";

ColumnPivots[0] = "Seoul";

_TraceLn(This.GetSummary("Max", RowPivots, ColumnPivots));

 

 

 

Available Events :

 

OnBind

 

 

 

See also :

 

SummaryTypeConst