jslewis / sctable

A table view for Sproutcore. Click the link below to try it in your browser.
http://jslewis.github.com/sctable-demo/index.html
Other
16 stars 8 forks source link

Make column resizing work after first time rendering #2

Closed unicolet closed 12 years ago

unicolet commented 13 years ago

Hi there, I'm using sctable in a project of mine and I have noticed that column resizing (by dragging the handle on the col header) did not work unless the columns were swapped first. After some debugging I found that the observer on the columns' width was missing. The changes in this pr merely make sure that those observers are set up at view creation. They might not be in their proper place, but they work for me.

Thanks for sctable, Umberto

jslewis commented 12 years ago

Hey Umberto, thanks for your bug fixes -- glad you found the table view helpful. I just (finally) merged them in, with a few modifications to the fast rendering option to generalize what you were doing and make it a table view property. Sorry to take so long to get back to you! I've been away from Sproutcore development for a while and am finally catching up.

All the best, Jonathan

unicolet commented 12 years ago

I have suggested your table view for inclusion in SC:

https://github.com/sproutcore/sproutcore/issues/652

jslewis commented 12 years ago

Cool -- SC is welcome to it.