我在我的网格中禁用了分页我想在带有分组列的数据网格中添加垂直滚动,我在我的网格中启用了“标准”滚动但滚动没有显示在我的网格中,我被困在这个问题中请为此问题提供解决方案. 这是我的数据网格 html 和附加的网格屏幕截图。
<dx-data-grid
id="gridContainer"
[dataSource]="customers"
[allowColumnReordering]="true"
[showBorders]="true">
<dxi-column dataField="CompanyName"></dxi-column>
<dxi-column dataField="Phone"></dxi-column>
<dxi-column dataField="Fax"></dxi-column>
<dxi-column dataField="City"></dxi-column>
<dxi-column dataField="State" [groupIndex]="0"></dxi-column>
<dxo-scrolling
mode="standard"> <!-- or "virtual" | "infinite" -->
</dxo-scrolling>
<dxo-search-panel [visible]="true"></dxo-search-panel>
<dxo-paging [pageSize]="10" [enabled]="false"></dxo-paging>
<dxo-group-panel [visible]="true"></dxo-group-panel>
<dxo-grouping #expand [autoExpandAll]="true"></dxo-grouping>
</dx-data-grid>
<div class="options">
<div class="caption">Options</div>
<div class="option">
<dx-check-box
[(value)]="expand.autoExpandAll"
text="Expand All Groups">
</dx-check-box>
</div>
</div>