Event Summery | |
---|---|
#onDrag The method that is triggered when (non Design Mode) dragging occurs. |
|
#onDragOver The method that is triggered when (non Design Mode) dragging over a component occurs. |
|
#onDrop The method that is triggered when (non Design Mode) dropping occurs. |
Property Summery | |
---|---|
Number | #anchors Enables a component to stick to a specific side of form and/or to grow or shrink when a window is resized. |
String | #background The background color of the component. |
String | #borderType The type, color and style of border of the component. |
String | #initialSort The default sort order for the rows displayed in the portal. |
String | #intercellSpacing The additional spacing between cell rows. |
String | #location The x and y position of the component, in pixels, separated by a comma. |
Boolean | #multiLine When set, portal rows can have a custom layout of fields, buttons, etc. |
String | #name The name of the component. |
Number | #printSliding Enables an element to resize based on its content and/or move when printing. |
Boolean | #printable Flag that tells if the component should be printed or not when the form is printed. |
String | #relationName The name of the relationship between the table related to the currently active form and the table you want to show data from in the portal. |
Boolean | #reorderable When set, the portal rows can be re-ordered by dragging the column headers. |
Boolean | #resizeble When set the portal rows can be resized by users. |
String | #rowBGColorCalculation The calculation dataprovider (such as servoy_row_bgcolor) used to add background color and highlight selected or alternate portal rows. |
Number | #rowHeight The height of each row in pixels. |
Number | #scrollbars Scrollbar options for the vertical and horizontal scrollbars. |
Boolean | #showHorizontalLines When set, the portal displays horizontal lines between the rows. |
Boolean | #showVerticalLines When set the portal displays vertical lines between the columns. |
String | #size The width and height (in pixels), separated by a comma. |
Boolean | #sortable When set, users can sort the contents of the portal by clicking on the column headings. |
String | #styleClass The name of the style class that should be applied to this component. |
Number | #tabSeq An index that specifies the position of the component in the tab sequence. |
Boolean | #transparent Flag that tells if the component is transparent or not. |
Event Details |
---|
onDrag |
The method that is triggered when (non Design Mode) dragging occurs. |
onDragOver |
The method that is triggered when (non Design Mode) dragging over a component occurs. |
onDrop |
The method that is triggered when (non Design Mode) dropping occurs. |
Property Details |
---|
anchors |
Enables a component to stick to a specific side of form and/or to If opposite anchors are activated then the component with grow or If opposite anchors are not activated, then the component will |
Returns Number |
background |
The background color of the component. |
Returns String |
borderType |
The type, color and style of border of the component. |
Returns String |
initialSort |
The default sort order for the rows displayed in the portal. |
Returns String |
intercellSpacing |
The additional spacing between cell rows. Is composed from the horizontal spacing and the vertical spacing. |
Returns String |
location |
The x and y position of the component, in pixels, separated by a comma. |
Returns String |
multiLine |
When set, portal rows can have a custom layout of fields, buttons, etc. displayed for each matching row (rather than the default "grid"). |
Returns Boolean |
name |
The name of the component. Through this name it can also accessed in methods. |
Returns String |
printSliding |
Enables an element to resize based on its content and/or move when printing. The component can move horizontally or vertically and can grow or shrink in height and width, based on its content and the content of neighboring components. |
Returns Number |
printable |
Flag that tells if the component should be printed or not when the form is printed. By default components are printable. |
Returns Boolean |
relationName |
The name of the relationship between the table related to the currently active form and the table you want to show data from in the portal. |
Returns String |
reorderable |
When set, the portal rows can be re-ordered by dragging the column headers. |
Returns Boolean |
resizeble |
When set the portal rows can be resized by users. |
Returns Boolean |
rowBGColorCalculation |
The calculation dataprovider (such as servoy_row_bgcolor) used to add background color and highlight selected or alternate portal rows. |
Returns String |
rowHeight |
The height of each row in pixels. If 0 or not set, the height defaults to 10. |
Returns Number |
scrollbars |
Scrollbar options for the vertical and horizontal scrollbars. Each of the vertical and horizontal scrollbars can be configured to display all the time, to display only when needed or to never display. |
Returns Number |
showHorizontalLines |
When set, the portal displays horizontal lines between the rows. NOTE: |
Returns Boolean |
showVerticalLines |
When set the portal displays vertical lines between the columns. NOTE: |
Returns Boolean |
size |
The width and height (in pixels), separated by a comma. |
Returns String |
sortable |
When set, users can sort the contents of the portal by clicking on the column headings. |
Returns Boolean |
styleClass |
The name of the style class that should be applied to this component. When defining style classes for specific component types, their names |
Returns String |
tabSeq |
An index that specifies the position of the component in the tab sequence. The components are put into the tab sequence in increasing order of this property. A value of 0 means to use the default mechanism of building the tab sequence (based on their location on the form). A value of -2 means to remove the component from the tab sequence. |
Returns Number |
transparent |
Flag that tells if the component is transparent or not. The default value is "false", that is the components |
Returns Boolean |