[fix] setDefaultCellHeight

This commit is contained in:
Faris Ansari 2018-03-19 14:42:08 +05:30
parent 98b0359f08
commit 88486b5a07

View File

@ -217,7 +217,7 @@ export default class Style {
setDefaultCellHeight() {
if (this.__cellHeightSet) return;
const height = this.options.cellHeight ||
$.style($('.data-table-cell', this.instance.datatableWrapper), 'height');
$.style($('.data-table-cell', this.instance.bodyScrollable), 'height');
if (height) {
this.setCellHeight(height);
this.__cellHeightSet = true;