Hey,
if I first move a column in a table and then resize this column, a strange width display of the columns occurs.
Folgende Einstellungen der Tablle können übernommen werden um den Fehler zu reproduzieren:
{
data: Handsontable.helper.createSpreadsheetData(5, 2),
width: ‘100%’,
height: 320,
rowHeaders: true,
colHeaders: true,
manualColumnResize: true,
stretchH: ‘last’,
colWidths: 100,
manualColumnMove: true,
licenseKey: ‘non-commercial-and-evaluation’
}
JsFilddle to the Problem
Width calculation problem
Thank you for sharing the issue @sebastian.rupprecht
I have replicated the issues and found 2 case scenarios when the combination of
- stretching
- resizing
- moving
plugins does not cooperate well.
I reported it here https://github.com/handsontable/handsontable/issues/8726 and will notify you once we solve it.
I tried to work around this issue by restarting the stretching in the afterColumnResize
hook, but it did not help. It seems that after this particular operation 100% is no longer the same 100% as before the action.
I am more than happy to announce that we just released Handsontable v15.0.0 where the issue with stretchH
is solved.
Thank you again for reporting!