SMART datagrid v1.4 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.summaryMode  property

컬럼별 합계를 계산할 때 어느 수준까지 계산할 것인 지를 SummaryMode 상수로 지정한다. 

기본값은 SummaryMode.AGGREGATE.

Getter
function summaryMode(): SummaryMode
Setter
function setSummaryMode(value: SummaryMode)
Code -1
    grid.setOptions({
        display: {
            summaryMode: DataLudi.SummaryMode.AGGREGATE
        }
    });
Code -2
    grid.setDisplayOptions({
        summaryMode: DataLudi.SummaryMode.AGGREGATE
    });
Code -3
    grid.displayOptions().setSummaryMode('aggregate');
See Also
RowGroup.summaryMode
SummaryMode
Examples
Column Footer