diff --git a/components/common/Grid.vue b/components/common/Grid.vue index 34c3f4b..507da54 100644 --- a/components/common/Grid.vue +++ b/components/common/Grid.vue @@ -107,16 +107,13 @@ export default { }, chkGridOptions() { const options = { - // bodyHeight: 'fitToContent', - scrollX: false, - scrollY: false, ...this.gridData.option, - useIcon: false, }; options.treeColumnOptions = { useIcon: false, ...options.treeColumnOptions, }; + return options; }, defaultRow() { @@ -163,7 +160,7 @@ export default { }, created() {}, async mounted() { - // console.log('--------------DEBUG----gridData: ', this.gridData); + // console.log(this.dataPath); if (this.gridName) { this.gridInstance = this.$refs['tuigrid' + this.gridName]; @@ -271,11 +268,12 @@ export default { }); }, focusChangeEvt(e) { + console.log("------------------DEBUG-------focusChangeEvt:", e); // console.log('focusChangeEvt1...') - if (this.preventFocusChangeEvent(e)) { - // console.log('prevent focusChangeEvt') - return; - } + // if (this.preventFocusChangeEvent(e)) { + // // console.log('prevent focusChangeEvt') + // return; + // } // console.log('focusChangeEvt2...') // cell 선택시 row 선택 method if (e.rowKey >= 0) { @@ -291,6 +289,7 @@ export default { this.sendSelectedRowData(e.rowKey); }, startEditing(e) { + console.log("------------DEBUG-----startEditing----", e); // console.log('startEditing1...') if (this.preventFocusChangeEvent(e)) { // console.log('prevent startEditing') @@ -666,8 +665,6 @@ export default { store.dimension.offsetLeft = offsetLeft; }, setHeight(_a,height){ - return; // setting auto height - // console.log("setHeight"); var dimension = _a.dimension; var headerHeight = dimension.headerHeight, summaryHeight = dimension.summaryHeight, tableBorderWidth = dimension.tableBorderWidth; @@ -705,11 +702,6 @@ export default {