SitePen/dgrid — Issue #56: Init problem when using both ColumnResizer and ColumnHider
Author: ttrenka
Created: 2011-12-20 15:12:50+00:00
State: open

...just updated to the latest master of dgrid, and started implementing the ColumnResizer and ColumnHider extensions. What I've noticed is that if you resize a column *before* hiding/unhiding a column, hiding no longer works. I'm fairly certain that this is probably happening because styleColumn is not run at all when initialized, but only when someone hides/unhides a column.

It does seem that if you hide/unhide a column first, the combination of extensions works as expected.

If I'm able to solve this problem, I'll try to issue a pull request (although it won't be as easy as usual, as the use case that I have is to CPM install it and then commit it to an SVN repo).

Cheers--
Tom