JLynch7/SlickGrid — Issue #5: Canvas not scaling correctly, if width 100%
Author: elGecko
Created: 2012-02-19 23:25:56+00:00
State: open

My canvas didn't scale correctly to the full width of the div, but rather only to about 100px. After some investigation I found out that viewportW = parseFloat($.css($container[0], "width", true)); returns 101,xx, but not the real width of my div.

I then discovered that my div looks like this

Chaning it to absolute values, e.g.

fixed that. However, this only happens if frozenColumn: 0. If it is 1 or bigger, this issue does not occur.