fix: Allow column resize past minWidth upto 30px
This commit is contained in:
parent
1845adc46e
commit
3446488b08
@ -177,8 +177,9 @@ export default class ColumnManager {
|
|||||||
colIndex
|
colIndex
|
||||||
} = $.data($resizingCell);
|
} = $.data($resizingCell);
|
||||||
|
|
||||||
if (this.getColumnMinWidth(colIndex) > finalWidth) {
|
let columnMinWidth = 30;
|
||||||
// don't resize past minWidth
|
if (columnMinWidth > finalWidth) {
|
||||||
|
// don't resize past 30 pixels
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.datamanager.updateColumn(colIndex, {
|
this.datamanager.updateColumn(colIndex, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user