我使用 DevExtreme 模块创建了一个表并找到以下代码
<div id="data-grid">
<div id="data-grid-table">
<dx-data-grid id="gridContainer" keyExpr="emailId" [dataSource]="userAccessList" [allowColumnReordering]="true" (onRowUpdated)="onRowUpdated($event)" (onRowRemoved)="onRowRemoved($event)" [showRowLines]="true" [showBorders]="true">
<dxo-editing mode="row" refreshMode="repaint" [allowUpdating]="true" [allowDeleting]="true" [useIcons]="true"></dxo-editing>
<dxi-column dataField="emailId" alignment="center" [allowEditing]="false" ></dxi-column>
<dxi-column dataField="name" alignment="center" caption="name">
</dxi-column>
<dxi-column dataField="Designation" alignment="center" caption="Designation" [width]="100">
</dxi-column>
</dx-data-grid>
</div>
</div>
上面显示正确,但是当我单击编辑图标时,对于名称字段,它显示输入字段,但我需要下拉列表。
请有人帮我解决这个问题?
提前致谢。