Expected: Double click on the column resize handle automatically adjusts size of the column.
Actual result: Double click on the column resize handle collapses column (width).
Demo (modified https://jsfiddle.net/api/post/library/pure/):
var container = document.getElementById('example1');
var hot = new Handsontable(container, {
data: Handsontable.helper.createSpreadsheetData(200, 10),
rowHeaders: true,
colHeaders: true,
width: '100%',
height: 320,
//colWidths: 100,
rowHeights: [50, 40, 100],
manualColumnResize: true,
manualRowResize: true
});
window.onload = () => {
setTimeout(() => {
console.log('onload()');
hot.updateSettings({
colWidths: [90, 200, 260, 120, 160, 160, 160],
});
});
}
NOTE: constructor of Handsontable does NOT set colWidths.
That causes abnormal behavior.