wijmo编辑
Input-number 在wijmo 快速编辑模式中输入,光标位置会在数字前例如 12,光标在2前,导致输入的数字变21
代码如下
<wj-flex-grid-column ="'Use Quantity'" ="IsReadOnly" ="false"
="'UseQuantity'" ="'center'">
<ng-template wjFlexGridCellTemplate ="'Cell'"let-cell="cell">
<span>
{{ cell.item.UseQuantity | number: '1.' + cell.item.DecimalPlaces + '-' + cell.item.DecimalPlaces }}
</span>
</ng-template>
<ng-template wjFlexGridCellTemplate ="'CellEdit'" let-cell="cell">
<wj-input-number class="cell-editor" style="text-align: center;" ="'n0'+cell.item.DecimalPlaces"[(value)]="cell.value">
</wj-input-number>
</ng-template>
</wj-flex-grid-column>
麻烦提供一完整的demo说明问题
页:
[1]