SMART datagrid v1.4 > Classes > RowGroup

Back  Forward

DataLudi.RowGroup.displayMode  property

행 그룹핑 상태를 표시하는 방법. RowGroupDisplayMode 상수로 지정한다. 

기본값은 RowGroupDisplayMode.BANDED.

Getter
function displayMode(): displayMode
Setter
function setDisplayMode(value: RowGroupDisplayMode)
Code -1
    $('#changedRowGroup').click(function (e) {
        var DL = DataLudi;
        var mode = grid.rowGroup().displayMode();
        var newMode = mode == DL.RowGroupDisplayMode.MERGED ? DL.RowGroupDisplayMode.BANDED : DL.RowGroupDisplayMode.MERGED;
        grid.rowGroup().setDisplayMode(nweMode);
    });
See Also
RowGroupDisplayMode
mergeMode
expandedAdornments
collapsedAdornments
Examples
행 그룹핑