Results 1 to 3 of 3

Thread: EditorGridPanel - monitorResize property does not function in 3.x version

  1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    19

    Default EditorGridPanel - monitorResize property does not function in 3.x version

    Hi there,
    I have updated the ext lib to 3.3.1 version and meet the following problem:
    - monitorResize property does not function after update, I have checked the API and haven't found
    this property in the list as well as autoWidth property.
    Is there any new solution to allow the grid panel resizing depends of browser?

    here a part of my old code:
    Code:
    var grid = new Ext.grid.EditorGridPanel({
                el:'grid_id',
                autoHeight: true,
                autoWidth: true, //<-- does not function anymore
                monitorResize: true, //<-- does not function anymore
                title: 'My Grid',
                store: store, //<-- defined and collects before 
                clicksToEdit:1,
                cm: cm, //<-- defined and collects before 
                sm: checkColumn, //<-- defined and collects before 
                collapsible: false,
                animCollapse: false,
                trackMouseOver: false,
                viewConfig: {
                    forceFit:true,
                    enableRowBody:true,
                    showPreview:false
                }
            });
    
            // render the grid
            grid.render();
    Thanks for advice.
    John

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    1. autoWidth:true has never worked for a grid.
    2. monitorResize has changed slightly in Ext 3.3, so it could be that you're getting a different result now.

    I recommend removing autoWidth and monitorResize and replacing it with the FitToParent plugin (see User Extensions forum).

  3. #3
    Sencha User
    Join Date
    Jun 2008
    Posts
    19

    Default

    Thanks Condor,
    Will try plugin.

Similar Threads

  1. MonitorResize for IFrame inside TabPanel
    By woeisiong in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 13 Jul 2009, 6:48 PM
  2. Property: 'Ext.version'
    By nlotz in forum Community Discussion
    Replies: 5
    Last Post: 23 Apr 2009, 1:13 AM
  3. monitorResize not working on height
    By Shawazi in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 15 Mar 2008, 7:09 PM
  4. a property with three function?
    By redlz2500 in forum Community Discussion
    Replies: 1
    Last Post: 24 Jan 2008, 7:40 AM

Posting Permissions

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