hi guys,
when browser resized, I want to change layout property to PanelGroupLayout using javascript. When firstly page opened layout='vertical'. This my codes,
view codes,
<af:panelGroupLayout clientComponent="true" layout="vertical" inlineStyle="margin-top:30px;" id="pnlGroupCell">
js codes,
var region = AdfPage.PAGE.findComponentByAbsoluteId('pt1:r1');
if (region != null) {
var panelGroup = region.findComponent('pnlGroupCell');
panelGroup.setLayout('horizontal'); //This don't work
}
Thanks.