Collapse by default

22 May 20171 minute to read

IMPORTANT

This feature is applicable only for Relational datasource.

Allows you to collapse all members displayed in the grid. You can enable collapsing all members by default in PivotGrid by setting enableCollapseByDefault property to true.

  • HTML
  • <script type="text/babel">
        //..
        $(function(){
            ReactDOM.render(
            <EJ.PivotGrid id="Relational" dataSource= {pivotdataSource} enableCollapseByDefault= {true}></EJ.PivotGrid>,
            document.getElementById('PivotGrid1')
            );
        });
    </script>