This should fix #5839 - columns stay hidden when shrinking and resizing the browser window.
With the fix, showing and hiding of columns is purely done based on priority-CSS. Only when the user manually toggles a column it's jqmData(cells) which now also includes the header cell itself will be locked to show()/hide().
With the fix, there is also no more need for ui-table-cell-hidden and ui-table-cell-visible.
Hope this is the correct branch...
Sample page with fix
Table: toggle changed self.update() fixes #5839
Table: toggle. updated tests for fix #5839
Table: toggle: correct failing test for fix #5839
toggling column twice resets to CSS only show/hide
added refresh handler to self.update(), fix tests
table: fixed failing tests
Sorry, was busy all week and I know why I did not set back hidden/visible - sure kept me busy.... I think it should be fixed now.
o.mode === "columntoggle"
prototype.options.mode = "columntoggle"
10. The dialog should become visible when button is clicked
I'm not totally sold on attributes vs. adding/removing classes to lock/unlock, but for now I hope it's ok (also jsperf)
closing this because i dont think we will be doing another 1.3.x release