SetSide1FullWidth method: PanelController class
Syntax
SetSide1FullWidth(UseFullWidth)
Description
Use the SetSide1FullWidth method to specify a Boolean value indicating whether the Side Page 1 panel consumes the full width of the browser window when the panel is open.
Note:
The default value is false.
Important:
Full width mode is not recommended because the panel does not display an expand/collapse button; therefore, you must programmatically close the panel based on other user actions—such as when the user clicks a link or selects an item within the panel.
Parameters
| Parameter | Description |
|---|---|
|
UseFullWidth |
Specifies a Boolean value indicating whether the panel is full width. |
Returns
None
Example
import PT_PAGE_UTILS:*;
Local PT_PAGE_UTILS:PanelController &oPC = create PT_PAGE_UTILS:PanelController();
/* Multiple operations to be performed – auto-update disabled */
&oPC.Initialize( False);
&oPC.SetSide1ModeOverlay(); /* change mode to overlay */
&oPC.SetSide1FullWidth( True); /* make side 1 panel consume full width of page on open */
&oPC.UpdatePanel(); /* perform all updates to Side1/Side2 panels */
Related Topics