[fix] setDefaultCellHeight
This commit is contained in:
parent
98b0359f08
commit
88486b5a07
@ -217,7 +217,7 @@ export default class Style {
|
|||||||
setDefaultCellHeight() {
|
setDefaultCellHeight() {
|
||||||
if (this.__cellHeightSet) return;
|
if (this.__cellHeightSet) return;
|
||||||
const height = this.options.cellHeight ||
|
const height = this.options.cellHeight ||
|
||||||
$.style($('.data-table-cell', this.instance.datatableWrapper), 'height');
|
$.style($('.data-table-cell', this.instance.bodyScrollable), 'height');
|
||||||
if (height) {
|
if (height) {
|
||||||
this.setCellHeight(height);
|
this.setCellHeight(height);
|
||||||
this.__cellHeightSet = true;
|
this.__cellHeightSet = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user