|
|
@ -329,7 +329,6 @@ const rowRefs = $ref<any[]>() |
|
|
|
|
|
|
|
|
|
|
|
/** save/update records before unmounting the component */ |
|
|
|
/** save/update records before unmounting the component */ |
|
|
|
onBeforeUnmount(async () => { |
|
|
|
onBeforeUnmount(async () => { |
|
|
|
console.log(rowRefs) |
|
|
|
|
|
|
|
let index = -1 |
|
|
|
let index = -1 |
|
|
|
for (const currentRow of data.value) { |
|
|
|
for (const currentRow of data.value) { |
|
|
|
index++ |
|
|
|
index++ |
|
|
@ -518,10 +517,6 @@ onBeforeUnmount(async () => { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</SmartsheetRow> |
|
|
|
</SmartsheetRow> |
|
|
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
TODO: add relationType !== 'bt' ? |
|
|
|
|
|
|
|
v1: <tr v-if="!isView && !isLocked && !isPublicView && isEditable && relationType !== 'bt'"> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
<tr v-if="!isView && !isLocked && isUIAllowed('xcDatatableEditable') && !isSqlView"> |
|
|
|
<tr v-if="!isView && !isLocked && isUIAllowed('xcDatatableEditable') && !isSqlView"> |
|
|
|
<td |
|
|
|
<td |
|
|
|
v-t="['c:row:add:grid-bottom']" |
|
|
|
v-t="['c:row:add:grid-bottom']" |
|
|
|