},methods: {asyncinsertEvent () {constrecord = {name:'New name'}const$grid =this.$refs.gridRefif($grid) {const{row: newRow } =await$grid.insert(record) $grid.setEditCell(newRow,'age') } },asyncremoveRow (row) {const$grid =this.$refs.gridRefif($grid) {consttype =awaitVxeUI.mo...
setEditRow(row)) case 'mark_cancel': triggerPendingEvent(code) break @@ -722,8 +735,7 @@ export default defineComponent({ $xetable.openExport(btnParams) break case 'reset_custom': $xetable.resetColumn(true) break return $xetable.resetColumn(true) case '_init': case 'reload': case '...
setActiveRow(row)) break return $xetable.insert({}).then(({ row }) => $xetable.setEditRow(row)) case 'mark_cancel': triggerPendingEvent(code) break @@ -722,8 +735,7 @@ export default defineComponent({ $xetable.openExport(btnParams) break case 'reset_custom': $xetable.resetColumn...
setEditRow(row)) case 'mark_cancel': triggerPendingEvent(code) break @@ -722,8 +735,7 @@ export default defineComponent({ $xetable.openExport(btnParams) break case 'reset_custom': $xetable.resetColumn(true) break return $xetable.resetColumn(true) case '_init': case 'reload': case '...