minor
This commit is contained in:
parent
330aa5f52a
commit
664865d024
@ -3214,16 +3214,9 @@ var Style = function () {
|
||||
|
||||
var wrapperWidth = _dom2.default.style(this.instance.datatableWrapper, 'width');
|
||||
var headerWidth = _dom2.default.style(this.header, 'width');
|
||||
|
||||
// if (headerWidth >= wrapperWidth) {
|
||||
// // don't resize, horizontal scroll takes place
|
||||
// return;
|
||||
// }
|
||||
|
||||
var resizableColumns = this.datamanager.getColumns().filter(function (col) {
|
||||
return col.resizable;
|
||||
});
|
||||
|
||||
var deltaWidth = (wrapperWidth - headerWidth) / resizableColumns.length;
|
||||
|
||||
resizableColumns.map(function (col) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -145,14 +145,7 @@ export default class Style {
|
||||
|
||||
const wrapperWidth = $.style(this.instance.datatableWrapper, 'width');
|
||||
const headerWidth = $.style(this.header, 'width');
|
||||
|
||||
// if (headerWidth >= wrapperWidth) {
|
||||
// // don't resize, horizontal scroll takes place
|
||||
// return;
|
||||
// }
|
||||
|
||||
const resizableColumns = this.datamanager.getColumns().filter(col => col.resizable);
|
||||
|
||||
const deltaWidth = (wrapperWidth - headerWidth) / resizableColumns.length;
|
||||
|
||||
resizableColumns.map(col => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user