Skip to main content
Error: missing value for parameter 'doc' (index 0) (click for details)
Callstack:
    at xml.text()
    at (Template:0Template:OutSystems/OSCommunityHeader), /content/body/pre[1], line 49, column 29
    at template()
    at (Template:Custom/Views/Header), /content/body/pre[3], line 7, column 13
    at (Documentation/10/Reference/Web_Interfaces/Designing_Screens/Edit_Record_Widget), /content/body/div[2]/table/tbody/tr[3]/td[5]

Reference

 

Applies only to Web Applications
OutSystems

Edit Record Widget

Displays a record and allows editing.

Properties

Name Description Mandatory Default value Observations
Name Identifies an element in the scope where it is defined, like a screen, action, or module. Yes    
Source Record Current record being edited in the widget.     The expression used in this property (if present) is evaluated only when the web screen is loading, immediately after the Screen Preparation.
This property is always evaluated, even when the widget is inside an If widget.
Record Definition Entity or structure that defines the internal values of the widget. Yes    
Width Width of the widget in columns. Other accepted units are pixels(px), points(pt), or percentage(%). Overrides the style sheet definition.      
Margin Left Left margin of the widget in columns. Other accepted units are pixels(px), points(pt), or percentage(%). Overrides the style sheet definition.      
Margin Top Top margin of the widget in pixels. Other accepted units are points(pt) or percentage(%). Overrides the style sheet definition.      
Display Columns Specifies if the widget presents records in one or two columns. Yes 1  
Label Width Width of the label in columns. Other accepted units are pixels(px), points(pt), or percentage(%). Overrides the style sheet definition.      
Cell Height Height of cells in the table in pixels. Other accepted units are points(pt) or percentage(%). Overrides the style sheet definition.      
Cell Spacing Space between cells in pixels. Overrides the style sheet definition.      
Style Classes Specifies one or more style classes to apply to the widget. Separate multiple values with spaces.   "EditRecord"  
Label Style Specifies one or more style classes to apply to labels. Separate multiple values with spaces.   "EditRecord_Caption"  
Value Style Specifies one or more style classes to apply to values. Separate multiple values with spaces.   "EditRecord_Value"  
Extended Properties
Property Name of an attribute to add to the HTML translation for this element.     You can pick a property from the drop-down list or type a free text. The name of the property will not be validated by the platform.

Duplicated properties are not allowed. Spaces, " or ' are also not allowed.
Value Value of the attribute.     You can type the value directly or write expressions using the Expression Editor.

If the Value is empty, the corresponding HTML tag is created as property="property". For example, the nowrap property does not require a value, therefore nowrap="nowrap" is added.

Runtime Properties

Name Description Read Only Type Observations
Record Current record being edited in the widget.   Record  
Valid False when the Valid runtime property of one or more widgets grouped by the Edit Record is False. Yes Boolean  
Id Identifies the widget instance at runtime (HTML 'id' attribute). You can use it in JavaScript and Extended Properties. Yes Text  
  • Was this article helpful?