Compare commits

..

5 Commits

4 changed files with 28 additions and 2 deletions

View File

@ -21,6 +21,15 @@
display: none; display: none;
} }
&-no-scroll-y {
.tui-grid-rside-area {
.tui-grid-header-area,
.tui-grid-summary-area {
margin-right: 0 !important;
}
}
}
&-rside-area { &-rside-area {
.tui-grid-header-area, .tui-grid-header-area,

View File

@ -174,6 +174,10 @@ export default {
this.gridScrollTop = e.target.scrollTop; this.gridScrollTop = e.target.scrollTop;
this.gridScrollLeft = e.target.scrollLeft; this.gridScrollLeft = e.target.scrollLeft;
}); });
if (!(this.scrollBody.scrollHeight > this.scrollBody.clientHeight)) {
this.gridInstance.$el.getElementsByClassName('tui-grid-content-area')[0].classList.add('tui-grid-no-scroll-y');
}
} }
}, },
methods: { methods: {

View File

@ -205,8 +205,8 @@ export default {
header: { header: {
height: 38, height: 38,
}, },
rowHeight: 29, rowHeight: 37,
minRowHeight: 29, minRowHeight: 37,
selectionUnit: 'row', selectionUnit: 'row',
editingEvent: 'click', editingEvent: 'click',
}; };
@ -383,5 +383,15 @@ function numberFormatter({ value }) {
.tab-datepicker { .tab-datepicker {
width: 64% !important; width: 64% !important;
} }
.tui-grid-layer-state {
top: 40px !important;
}
.tui-grid-layer-selection,
.tui-grid-cell-content-editor{
height: 36px !important;
// border: none;
}
} }
</style> </style>

View File

@ -1381,6 +1381,9 @@ export default {
textStyle: { textStyle: {
color: this.isDarkMode ? "#fff" : "#333333", color: this.isDarkMode ? "#fff" : "#333333",
}, },
itemStyle: {
borderWidth: 0
}
}, },
series: seriesData, series: seriesData,
}; };