The trouble I am having is when I try to revert back to the original proportions. The dom.setStyle expects that I set the proportions back and I do not like setting the proportions when they were previously defaulted to the yui-gf. At the moment I am using a setting dom.setStyle("divName","width", "34.6%") dom.setStyle("divName","width", "64.6%") Hard coding these values means the grid does not resize very well when a slider bar is used in an adjacent grid.
Can anyone tell me if there is a better way to resize the grids from yui-gf to one full grid and back again without having to hardcode percentages in? The YUI grid builder example is exactly what I am looking to do but I cannot find the source code for it.