ContainerElement (Component)

If an element can contain other elements, the ContainerElement object lets you manage the element's position within the container object.

Methods marked below with [L] may be logged at the site level (if transaction logging is licensed and enabled by the administrator)

Methods marked below with [C] may be customized at the site level

Methods:

deletePlaceholder [L] [C] Deletes the placeholder from the specified container element at the specified position.
deleteRow [L] [C] Deletes a row configured for a container.
getColumn [C] Returns a structure whose members contain information about container level customization for a grid layout column.
getContainerLayout [C] Returns structure with two rows arrays that contain information about the grid layout rows defined and elements.
getGridTabHTML [C] Returns HTML to be rendered in the Grid tab of a container element's Grid tab in Layout properties dialog.
getList [C] Returns a query describing the elements contained within the specified Container element.
getRow [C] Returns a structure whose members contain information about container level customization for a grid layout row.
getWrapperTags [C] Returns structure containing start and end tags for the given row or column in a container.
insertElement [L] [C] Inserts an element within a page's container element.
insertRowAtPosition [L] [C] Inserts a Grid Layout Row at the position of supplied RowID or RowNumber.
moveColumn [L] [C] Updates the index of a column within a grid layout row defined for a container.
moveElement [L] [C] Moves an element within the specified container element.
moveElementWithinGrid [L] [C] Moves the specified element to the specified position within the specified row and column, within the same container element.
moveRow [L] [C] Updates the index of a grid layout row within a container.
pasteElement [L] [C] Inserts the copied element into the specified container element at the specified position.
reorderElements [L] [C] Reorders the elements contained inside the container element.
saveColumn [L] [C] Saves a column for a container.
saveContainerLayout [L] [C] Saves the grid layout information for a container from a session variable.
saveRow [L] [C] Saves a grid layout row to a container.
setDefaultLayout [L] [C] Sets the container to use the default factory layout or when supplied, inherited grid layout ID. Also updates the ElementParams.Rows.
validateElementType [C] Checks if supplied element type is allowed in the container in the given position.