问题描述
dx-data-grid add 事件,没有像批量添加操作那样的内部添加按钮。
我使用这些版本
角度 10.2
devextreme 20.2.5
devextreme-angular 20.2.5
<dx-data-grid
id="gridContainer"
[dataSource]="myCustomDataStore"
[showBorders]="true"
[remoteOperations]="true"
[repaintChangesOnly]="true"
(onSaving)="onSaving($event)">
<dxo-editing
mode="batch"
[allowAdding]="true"
[allowDeleting]="true"
[allowUpdating]="true"
></dxo-editing>
<!--here is my columns -->
</dx-data-grid>
setNewLine() { this.myCustomDataStore.store().push([ { 类型:“更新”,数据:数据 } ]); }
我想当我点击 setNewLine() 时,像这样创建一个新行作为批处理新行。因为否则保存按钮不会激活。
如何激活保存按钮。
我没见过这样的图片
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)