Portal
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package '') Extends designtime/SolutionModel: Extends runtime:
A Servoy Extra Component that displays a portal for viewing and editing related foundset records.
This is a reference page; many components have detailed usage guides .
The background color for the portal component. Type:
The type of border applied to the portal. Type:
Flag indicating whether the portal is editable. Type: Default Value: true
Flag indicating whether the portal is enabled for user interaction. Type: Default Value: true
Called when a drag operation ends on the portal.
Parameters:
Called during a drag operation over the portal.
Parameters:
Called when an element is dragged over the portal.
Parameters:
Called when an element is dropped onto the portal.
Parameters:
Deletes the currently selected record from the portal's foundset.
Duplicates the currently selected record in the portal's foundset.
Parameters:
Retrieves the name of the form that the portal is associated with.
Retrieves the height of the portal component.
Retrieves the X-coordinate (horizontal position) of the portal component.
Retrieves the Y-coordinate (vertical position) of the portal component.
Retrieves the maximum record index available in the portal's foundset.
Retrieves the current horizontal scroll position of the portal.
Retrieves the current vertical scroll position of the portal.
Retrieves the index of the currently selected record in the portal's foundset.
Retrieves the sorting columns applied to the portal's related foundset.
Retrieves the width of the portal component.
Creates a new record in the portal's foundset.
Parameters:
Sets the scroll position of the portal.
Parameters:
Sets the selected record index in the portal's foundset.
Parameters:
The foreground color for the portal component. Type:
The height of the portal header in pixels. Type: Default Value: 32
The initial sort order for the portal, specified as a string. Type:
The spacing between cells in the portal. Type:
The location of the portal on the form. Type:
Flag indicating whether the portal supports multiple lines. Type:
The read-only mode setting for the portal. Type: Default Value: null
The foundset related to the portal. Type:
Flag indicating whether the portal supports reordering of records. Type:
Flag indicating whether the portal is resizable. Type:
(Deprecated) Duplicate property for resizable. Type:
Calculation used to determine the row background color. Type:
The height of each row in the portal. Type:
Configuration for scrollbars in the portal. Type:
Flag indicating whether horizontal grid lines are shown. Type:
Flag indicating whether vertical grid lines are shown. Type:
Flag indicating whether the portal is sortable. Type:
CSS style classes applied to the portal. Type:
The tab sequence order for keyboard navigation. Type:
Flag indicating whether the portal background is transparent. Type:
Flag indicating whether the portal is visible. Type:
{} event The event object associated with the drag end.
{} event The event object associated with the drag.
Returns: {}
{} event The event object associated with the drag over.
Returns: {}
{} event The event object associated with the drop.
Returns: {}
{} [addOnTop] Whether to add the duplicated record at the top of the foundset.
Returns: The name of the form containing the portal.
Returns: The height of the portal in pixels.
Returns: The X-coordinate of the portal in pixels.
Returns: The Y-coordinate of the portal in pixels.
Returns: The total number of records in the related foundset.
Returns: The horizontal scroll position in pixels. Always returns 0, as scrolling is not implemented for web.
Returns: The vertical scroll position in pixels. Always returns 0, as scrolling is not implemented for web.
Returns: The 1-based index of the selected record, or -1 if no record is selected.
Returns: A string representing the current sort order of the foundset, formatted as a comma-separated list of column names followed by sort directions (ASC or DESC).
Returns: The width of the portal in pixels.
{} [addOnTop] Whether to add the new record at the top of the foundset.
{} x The horizontal scroll position in pixels.
{} y The vertical scroll position in pixels.
{} index The 1-based index of the record to be selected.