开发者

resize datagrid on browser resize

I have a datagrid that occupies 100% of browser screen. I w开发者_JS百科ant the grid to automatically resize when the browser is resized to small or full screen. pls help...

-vivek


Set the grid's size to 100%x100% or set top/right/bottom/left to some value and make sure that the SWF itself is full size. Note that all parent elements above the grid are required to have a relative size as well.

Otherwise you can listen to StageEvent.RESIZE.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜