Results 1 to 1 of 1

Thread: Collapsible ViewPort: How to resize center items width?

  1. #1
    Ext JS Premium Member rule3's Avatar
    Join Date
    Apr 2008
    Posts
    152

    Default Collapsible ViewPort: How to resize center items width?

    Hi I have ViewPort with left bar and center bar split and it is collapsible and animCollapse is true..

    In center box we have Managed IFrame..

    In I frame ExtJS element like grids , panels , etc. width do not resize with animation and that looks stupid..

    There is function on end of the scripts loaded to Iframe..

    Code:
    function resize() {
    		grid.setHeight(Ext.lib.Dom.getViewHeight());
    		grid.setWidth(Ext.lib.Dom.getViewWidth());
    	}
    Ext.EventManager.onWindowResize(resize);
    1. When I press collabse on point below or use split's drag and drop left/center box width grid do not resize on animation and resize after center/left box is resized or collabsed..



    How do I but that grid dynamically to resize with animation or split's resize?
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •