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
.
精彩评论