From 88486b5a078387464426922d340124f92a30f2ef Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 19 Mar 2018 14:42:08 +0530 Subject: [PATCH] [fix] setDefaultCellHeight --- src/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.js b/src/style.js index 5b5d403..b24daf7 100644 --- a/src/style.js +++ b/src/style.js @@ -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;