Results 1 to 5 of 5

Thread: Form Panel not accessible when layout is collapsed

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Compiegne FRANCE
    Posts
    48

    Default Form Panel not accessible when layout is collapsed

    Dear all,

    I have a little "bug" that I want to resolved.
    I have a Panel with 3 regions:
    1 Center with Item call GridAtTop
    South split in two others regions:
    2 East with Item call FormAtSouthEast
    3 Center with Item call GridAtSouthCenter

    The south region is collabsible.
    The East region is collabsible too.

    When I click a row in GridAtTop, I update FormAtSouthEast and GridAtSouthCenter.
    All it's ok on default mode.
    If I collapsed the South, all it's ok too.
    But, if I collapsed the SouthEast and click a row in GridAtTop, I get an error as my FormPanel doesn't exist.
    Same if I collapsed the SouthEast and after collapsed the South.

    If somebody has a way to look for, thanks to share !!!

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Compiegne FRANCE
    Posts
    48

    Default

    Add infos:
    In fact it's when I made a form.load() (and with SouthEast only collapsed) that I get the error:
    "this.form.el is undefined
    return (this.options.method ||....dom.method || 'POST').toUpperCase(); "

    Thanks for your help

  3. #3

    Default

    So you're rendering the regions and then collapsing them and that's when you get the error?
    Wes

  4. #4
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Compiegne FRANCE
    Posts
    48

    Default

    I rendering the region, I collapsed (if user need more width for the gridAtSouthCenter), and then I update my GridAtSouthCenter and my FormAtSouthEast.
    If I collapsed the south region, no problem I can (re)load the FormAtSouthEast and the GridAtSouthCenter no error.
    But if the south-east is collapsed, and if I (re)load the form, I get the error.

    Thanks for your help.

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2011
    Location
    Compiegne FRANCE
    Posts
    48

    Default

    I added two captures for help to understand my case.
    First, Capture_ok : no error when I click on a row on the GridAtTop to load the FormAtSouthEast and the GridAtSouthCenter.
    Second, Capture_with_error: I get an error for the same action.
    To avoid the error, I test my layout SouthEast, if it's collapsed, I 'm not load the FormAtSouthEast , but it will be cleaner to load it anyway.
    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
  •