fix: Allow column resize past minWidth upto 30px

This commit is contained in:
Faris Ansari 2019-03-30 17:21:08 +05:30
parent 1845adc46e
commit 3446488b08

View File

@ -177,8 +177,9 @@ export default class ColumnManager {
colIndex
} = $.data($resizingCell);
if (this.getColumnMinWidth(colIndex) > finalWidth) {
// don't resize past minWidth
let columnMinWidth = 30;
if (columnMinWidth > finalWidth) {
// don't resize past 30 pixels
return;
}
this.datamanager.updateColumn(colIndex, {