Closed deathwebo closed 9 years ago
Could this not be achieved by simply setting the store
option to null?
I believe the plugin does an initial resize, and set all the columns to an equal width
No initial resizing is done if no prior widths are found in the localStorage entry for the table.
However, all columns are assigned a percentage width on load, which is calculated automatically. If you've already applied a percentage width or should probably just ignore that column. We can probably improve it that way.
The problem I forsee is for tables with table-layout: auto
, where percentage values don't necessarily reflect exact pixel ratios between columns.
@Craga89 Thanks! That did the trick, it was just that I couldn't find any documentation for this.
Option onStartResize added to the plugin, to allow or prevent the plugin from resizing the table columns on start.
This should fix the issue #46