You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use setOptions to set autoSizeColumns to false, it will still call the autoSizeColumns() method anyway.
Please see the following code snippet:
// If toggling auto column width - resize
if ('autoColumnWidth' in options) {
// Also make sure that the right resize handles are drawn
setupColumnResize();
autosizeColumns();
// Fire column resize event
self.trigger('columnresize', this._event, {});
}
This is where the autoColumnWidth gets "toggled". autosizeColumns is executed if the autoColumnWidth option exists in options. This is also true if the property is actually set to false leading to unwanted behaviour.
Is this a bug, or is this desired behaviour?
The text was updated successfully, but these errors were encountered:
When i use setOptions to set
autoSizeColumns
to false, it will still call the autoSizeColumns() method anyway.Please see the following code snippet:
This is where the autoColumnWidth gets "toggled". autosizeColumns is executed if the
autoColumnWidth
option exists in options. This is also true if the property is actually set to false leading to unwanted behaviour.Is this a bug, or is this desired behaviour?
The text was updated successfully, but these errors were encountered: