ContainerElement.setDefaultLayout (Method)

Sets the container to use the default factory layout or when supplied, inherited grid layout ID. Also updates the ElementParams.Rows.

Returns:

NonNegativeInteger

Arguments:

Name Type Required Description
pageID PageID Required ID of the page on which the container is placed.
controlID ControlID Required ID of the container control.
rowID GridLayoutRowID_0 Optional. Defaults to '0'. ID of the grid row if the default should be set with a specific row ID.
saveForSession Boolean Optional. Defaults to '0'. Boolean flag when true means, the row information configured for the container is saved in a session for a later save.

Context:

License Requirements (none)
Permission Requirements (none)
Deny Context None
Require Context (none)
Author Lock Required
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None