3 ms·
Your implementation breaks after 1 zoom increase. The OPs implement breaks after 4. Google Spreadsheet is the only implementation to get it right, as far as I
by nickpresta 14y ago
Your implementation breaks after 1 zoom increase. The OPs implement breaks after 4.
Google Spreadsheet is the only implementation to get it right, as far as I can tell.
- Kilimanjaro 14y agoAll break, even google's and mine. Point is there should be ONE easy way using just a single table and not a miriad of hacks with floating divs all over and resize/repaint triggers everytime something moves. That's exactly my complain. * View-source: mine is just one table and nothing else, no hacks. Take a look at google's implementation and try to make sense of it. That's my point, just one table should be enough to make it work.
- rev087 14y agoI tried doing something along the lines, using a table, years ago (way before Google Spreadsheet). I remember trying to resize columns was painfully slow at the time; I had to create a ghost "separator" that appeared when resizing lines and columns, and only actually resizes when the user releases the mouse button. Their use of divs instead of a table might be explained by issues like this. Of course, this is no excuse for allowing it to break when zooming.