LayoutChange-Event getting height of panel

1 posts, 0 answers
  1. Mathias
    Mathias avatar
    34 posts
    Member since:
    Apr 2012

    Posted 27 Sep 2012 Link to this post

    Hi everyone,

    I try to use the LayoutChange-Event to get the height of the previous panel. Here is the method I call with the event:
    function onMultiLookupWindowSplitterResize(e)
        if (e.sender.resizing != undefined && e.sender.resizing.previousPane != undefined)
            $('#lookupGridContainer').height(e.sender.resizing.previousPane.height() - 40);

    It really works fine. The only problem is. When I collapse a panel it doesn't really work. The previousPane is undefined and so I don't get the height.

    If i resize the splitter first and THEN collapse one panel the previousPane is correctly defined. So the problem occurs only if I collapse a panel BEFORE resizing.

    Hope you understand what I mean. Is this a bug? Is there any solution for this?

Back to Top