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:
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?
Thanks,
Mathias
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?
Thanks,
Mathias