sap.ui.comp.smartfield.SmartField.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.comp.smartfield.SmartField with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.core.Control.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.ui.comp.smartfield.SmartField.
Returns:
sap.ui.comp.smartfield.SmartField.getSupportedAnnotationPaths(oMetaModel, oEntitySet, sValueBinding, bNavigationPathsOnly): array
Calculates the paths to the annotations used by the SmartField.
Parameters:
{sap.ui.model.odata.ODataMetaModel} | oMetaModel | The given OData meta model |
{object} | oEntitySet | The given entity set |
{string} | sValueBinding | The path identifying the OData property the value property of the SmartField is bound to |
{boolean} | bNavigationPathsOnly | If set to true , no properties are returned |
Returns:
{array} | The resulting paths are returned |
_getEmbeddedSmartField(): array
Resolves the controls hosted currently by this SmartField.
Returns:
{array} | The controls hosted currently by this SmartField |
Adds some ariaLabelledBy into the association ariaLabelledBy
.
Parameters:
{string|sap.ui.core.Control} | vAriaLabelledBy | the ariaLabelledBy to add; if empty, nothing is inserted |
- Since:
- 1.34.2
Returns:
Adds some object with the ID
sId
to the association identified by
sAssociationName
and marks this ManagedObject as changed. This method does not avoid duplicates.
Note: This method is a low-level API as described in
the class documentation. Applications or frameworks must not use this method to generically add an object to an association. Use the concrete method add
XYZ for association 'XYZ' or the generic
applySettings instead.
Parameters:
{string} | sAssociationName | the string identifying the association the object should be added to. |
{string|sap.ui.base.ManagedObject} | sId | the ID of the ManagedObject object to add; if empty, nothing is added; if a sap.ui.base.ManagedObject is given, its ID is added |
{boolean} | bSuppressInvalidate? | if true, this managed object as well as the newly associated object are not marked as changed |
Returns:
Attaches event handler
fnFunction
to the
change
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the text in the field has changed and the focus leaves the TextField or Enter is pressed.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
Returns:
Attaches event handler
fnFunction
to the
contextEditableChanged
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the context editable property of the control has changed.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
- Since:
- 1.31.0
Returns:
Attaches event handler
fnFunction
to the
editableChanged
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the value of editable property of the control has changed.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
- Since:
- 1.30.0
Returns:
Attaches event handler
fnFunction
to the
entitySetFound
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The OData entity set is either derived from the control's binding context or from control's entity set property, if a value for it is specified. In both cases this event is fired.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
Returns:
Attaches event handler
fnFunction
to the
initialise
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the smart field has calculated its metadata.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
Returns:
Attaches event handler
fnFunction
to the
innerControlsCreated
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the inner controls have been created.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
Returns:
Attaches event handler
fnFunction
to the
press
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
Fires when the user triggers the link control or taps/clicks on an active title of the object identifier control.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
- Since:
- 1.36.0
Returns:
Attaches event handler
fnFunction
to the
valueListChanged
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired when after selection of values with value help or auto-suggest, the model is updated with the selected data.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
- Since:
- 1.31.0
Returns:
Attaches event handler
fnFunction
to the
visibleChanged
event of this
sap.ui.comp.smartfield.SmartField
.
When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.ui.comp.smartfield.SmartField
itself.
The event is fired after the visibility of the control has changed.
Parameters:
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.ui.comp.smartfield.SmartField itself |
Returns:
checkClientError(): boolean
Returns whether a client error has been detected. Additionally the error message is shown, if this is not the case already.
Returns:
{boolean} | true , if a client error has been detected, false otherwise |
Destroys the configuration in the aggregation configuration
.
Returns:
Detaches event handler
fnFunction
from the
change
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
contextEditableChanged
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Since:
- 1.31.0
Returns:
Detaches event handler
fnFunction
from the
editableChanged
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Since:
- 1.30.0
Returns:
Detaches event handler
fnFunction
from the
entitySetFound
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
initialise
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
innerControlsCreated
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
press
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Since:
- 1.36.0
Returns:
Detaches event handler
fnFunction
from the
valueListChanged
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Since:
- 1.31.0
Returns:
Detaches event handler
fnFunction
from the
visibleChanged
event of this
sap.ui.comp.smartfield.SmartField
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Fires event change
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event contextEditableChanged
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Since:
- 1.31.0
Returns:
Fires event editableChanged
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Since:
- 1.30.0
Returns:
Fires event entitySetFound
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event initialise
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event innerControlsCreated
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event press
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Since:
- 1.36.0
Returns:
Fires event valueListChanged
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Since:
- 1.31.0
Returns:
Fires event visibleChanged
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
getAccessibilityInfo()
See:
Returns array of IDs of the elements which are the current targets of the association ariaLabelledBy
.
- Since:
- 1.34.2
Returns:
getClientSideMandatoryCheck(): boolean
Gets current value of property
clientSideMandatoryCheck
.
Determines if the mandatory check happens on the client side true
or on the server side false
.
Default value is true
.
- Since:
- 1.38.3
Returns:
{boolean} | Value of property clientSideMandatoryCheck |
Gets content of aggregation
configuration
.
Optional configuration for SmartField.
Returns:
getContextEditable(): boolean
Gets current value of property
contextEditable
.
Notifies the control whether controls using the SmartField are editable or not.
Default value is true
.
- Since:
- 1.31.0
Returns:
{boolean} | Value of property contextEditable |
Gets current value of property
controlContext
.
Defines in which context the layout of the smart field has to be interpreted.
Default value is None
.
- Since:
- 1.31.0
Returns:
getDataProperty(): object
Returns the OData property to which the value
property of the control is bound.
Returns:
{object} | The OData property. |
getDataType(): string
Returns the EDM data type of the OData property to which the value property of the control is bound to. If no model or no OData property is available null
is returned.
Returns:
{string} | The data type to which the value property is bound. |
getEditable(): boolean
Gets current value of property
editable
.
Sets the control into an editable mode or a display mode.
Default value is true
.
Returns:
{boolean} | Value of property editable |
getEnabled(): boolean
Gets current value of property
enabled
.
Enables the control.
Default value is true
.
Returns:
{boolean} | Value of property enabled |
getEntitySet(): string
Gets current value of property
entitySet
.
The name of an entity set for which the control manages values. This is an optional property.
Returns:
{string} | Value of property entitySet |
Returns the DOM element that gets the focus.
Returns:
getInnerControls(): array
Resolves the controls hosted currently by this SmartField.
Returns:
{array} | The controls hosted currently by this SmartField |
getMandatory(): boolean
Gets current value of property
mandatory
.
Mandatory property.
Default value is false
.
Returns:
{boolean} | Value of property mandatory |
getMaxLength(): int
Gets current value of property
maxLength
.
Maximum number of characters. Value 0
means the feature is switched off.
Default value is 0
.
Returns:
{int} | Value of property maxLength |
getName(): string
Gets current value of property
name
.
To be used in the HTML code (for example, for HTML forms that send data to the server via 'submit').
Returns:
{string} | Value of property name |
getPlaceholder(): string
Gets current value of property
placeholder
.
Text shown when no value available.
Returns:
{string} | Value of property placeholder |
getShowLabel(): boolean
Gets current value of property
showLabel
.
If set to false the label is not displayed.
Default value is true
.
Returns:
{boolean} | Value of property showLabel |
getShowSuggestion(): boolean
Gets current value of property
showSuggestion
.
If set to true
, the suggestion feature for a hosted control is enabled, if the hosted control supports it.
Default value is true
.
Returns:
{boolean} | Value of property showSuggestion |
getShowValueHelp(): boolean
Gets current value of property
showValueHelp
.
If set to true, a value help indicator will be displayed inside the hosted control, if the hosted control supports this.
Default value is true
.
Returns:
{boolean} | Value of property showValueHelp |
getShowValueStateMessage(): boolean
Gets current value of property
showValueStateMessage
.
The text which is shown in the value state message popup.
Default value is true
.
Returns:
{boolean} | Value of property showValueStateMessage |
Gets current value of property
textAlign
.
Horizontal alignment of the text.
Default value is Initial
.
Returns:
getTextLabel(): string
Gets current value of property
textLabel
.
This property contains the text of an associated smart label.
Returns:
{string} | Value of property textLabel |
getTooltipLabel(): string
Gets current value of property
tooltipLabel
.
This property contains the tool tip of the associated smart label.
Returns:
{string} | Value of property tooltipLabel |
getUnitOfMeasure(): any
If the OData property to which the control's value property is bound semantically represents a unit of measure, the value of the current unit of measure is returned. Otherwise null
is returned.
Returns:
{any} | The current unit of measure is returned, which can be null |
getUomEditable(): boolean
Gets current value of property
uomEditable
.
Editable state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
Default value is true
.
Returns:
{boolean} | Value of property uomEditable |
getUomEditState(): int
Gets current value of property
uomEditState
.
This property is for internal use only.
Default value is -1
.
- Since:
- 1.31.0
Returns:
{int} | Value of property uomEditState |
getUomEnabled(): boolean
Gets current value of property
uomEnabled
.
Enabled state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
Default value is true
.
Returns:
{boolean} | Value of property uomEnabled |
getUomVisible(): boolean
Gets current value of property
uomVisible
.
Visible state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
Default value is true
.
Returns:
{boolean} | Value of property uomVisible |
getUrl(): string
Gets current value of property
url
.
Contains a URL which is used to render a link. The link is rendered, if the OData property which the value property of the control is bound to is of type Edm.String
and the Smart Field is in display mode.
Returns:
{string} | Value of property url |
getValue(): any
Returns the value of the value
property.
Returns:
{any} | The value of the property |
Getter for property valueState
. Default value is None
.
Returns:
getValueStateText(): string
Getter for property valueStateText
. Default value is empty/undefined
.
Returns:
{string} | The property value |
Gets current value of property
width
.
The width can be set to an absolute value.
Returns:
getWrapping(): boolean
Gets current value of property
wrapping
.
Indicates whether the control break lines (in display mode) to prevent overflow.
Default value is true
.
- Since:
- 1.36.6
Returns:
{boolean} | Value of property wrapping |
Removes all the controls in the association named ariaLabelledBy
.
- Since:
- 1.34.2
Returns:
Removes an ariaLabelledBy from the association named ariaLabelledBy
.
Parameters:
{int|string|sap.ui.core.Control} | vAriaLabelledBy | The ariaLabelledByto be removed or its index or ID |
- Since:
- 1.34.2
Returns:
Sets a new value for property
clientSideMandatoryCheck
.
Determines if the mandatory check happens on the client side true
or on the server side false
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bClientSideMandatoryCheck | New value for property clientSideMandatoryCheck |
- Since:
- 1.38.3
Returns:
Sets the aggregated configuration
.
Parameters:
Returns:
Setter for property contextEditable
. Default value is false
.
Parameters:
{boolean} | bValue | New value for property editable |
- Since:
- 1.31.0
Returns:
Sets a new value for property
controlContext
.
Defines in which context the layout of the smart field has to be interpreted.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is None
.
Parameters:
- Since:
- 1.31.0
Returns:
Setter for property editable
. Default value is false
.
Parameters:
{boolean} | bValue | New value for property editable |
Returns:
Setter for property enabled
. Default value is true
.
Parameters:
{boolean} | bValue | The new value for property enabled . |
Returns:
Setter for property entitySet
. Default value is undefined
.
Parameters:
{string} | sValue | The new value for property entitySet |
Returns:
Sets a new value for property
mandatory
.
Mandatory property.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Parameters:
{boolean} | bMandatory | New value for property mandatory |
Returns:
Sets a new value for property
maxLength
.
Maximum number of characters. Value 0
means the feature is switched off.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
Parameters:
{int} | iMaxLength | New value for property maxLength |
Returns:
Sets a new value for property
name
.
To be used in the HTML code (for example, for HTML forms that send data to the server via 'submit').
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sName | New value for property name |
Returns:
Sets a new value for property
placeholder
.
Text shown when no value available.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sPlaceholder | New value for property placeholder |
Returns:
Sets a new value for property
showLabel
.
If set to false the label is not displayed.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowLabel | New value for property showLabel |
Returns:
Sets a new value for property
showSuggestion
.
If set to true
, the suggestion feature for a hosted control is enabled, if the hosted control supports it.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowSuggestion | New value for property showSuggestion |
Returns:
Sets a new value for property
showValueHelp
.
If set to true, a value help indicator will be displayed inside the hosted control, if the hosted control supports this.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowValueHelp | New value for property showValueHelp |
Returns:
Sets a new value for property
showValueStateMessage
.
The text which is shown in the value state message popup.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bShowValueStateMessage | New value for property showValueStateMessage |
Returns:
Sets a new value for property
textAlign
.
Horizontal alignment of the text.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Initial
.
Parameters:
Returns:
Sets a new value for property
textLabel
.
This property contains the text of an associated smart label.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sTextLabel | New value for property textLabel |
Returns:
Sets a new value for property
tooltipLabel
.
This property contains the tool tip of the associated smart label.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sTooltipLabel | New value for property tooltipLabel |
Returns:
setUnitOfMeasure(sUnit)
If the OData property the control's value property is bound to semantically represents a unit of measure, the value of the current unit of measure can be changed.
Parameters:
{string} | sUnit | The new unit of measure to be set. |
Sets a new value for property
uomEditable
.
Editable state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bUomEditable | New value for property uomEditable |
Returns:
Sets a new value for property
uomEditState
.
This property is for internal use only.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is -1
.
Parameters:
{int} | iUomEditState | New value for property uomEditState |
- Since:
- 1.31.0
Returns:
Sets a new value for property
uomEnabled
.
Enabled state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bUomEnabled | New value for property uomEnabled |
Returns:
Sets a new value for property
uomVisible
.
Visible state of the unit, if the SmartField control addresses unit of measure use cases, for example, an amount and its associated currency.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Parameters:
{boolean} | bUomVisible | New value for property uomVisible |
Returns:
Setter for property url
. Default value is null
.
Parameters:
{string} | sValue | The new value for property url |
- Since:
- 1.29
Returns:
Setter for property value
. Default value is true
.
Parameters:
{object} | oValue | The new value for property value |
Returns:
Setter for property valueState
. Default value is None
.
Parameters:
- Since:
- 1.30.0
Returns:
Setter for property valueStateText
. Default value is empty/undefined
.
Parameters:
{string} | sText | The new value for property valueStateText |
- Since:
- 1.29
Returns:
Setter for property visible
. Default value is true
.
Parameters:
{boolean} | bValue | New value for property editable |
{boolean} | bSuppressInvalidate | If true , the managed object is not marked as changed |
Returns:
Setter for property width
.
Parameters:
{string} | sWidth | The new value for property width |
Returns:
Setter for property wrapping
. The wrapping is only relevant for the table control context.
Parameters:
{boolean} | bWrapping | The new value for property wrapping |
Returns:
Destroys the controlProposal in the aggregation controlProposal
.
- Deprecated:
- Since 1.34.0
- Since:
- 1.32.0
Returns:
Gets content of aggregation
controlProposal
.
Proposes a control to be rendered. The smart field may ignore the proposal.
- Deprecated:
- Since 1.34.0
- Since:
- 1.32.0
Returns:
Gets current value of property
jsontype
.
Data types to be used, if the SmartField control is interacting with a JSON model. If the value property of the control is bound to a property of an OData entity set, this property is not considered.
- Deprecated:
- Since 1.31.0
Returns:
Gets current value of property
proposedControl
.
Proposes a control to be rendered. The smart field may ignore the proposal.
Default value is None
.
- Deprecated:
- Since 1.32.0
- Since:
- 1.31.0
Returns:
Sets the aggregated controlProposal
.
Parameters:
- Deprecated:
- Since 1.34.0
- Since:
- 1.32.0
Returns:
Sets a new value for property
jsontype
.
Data types to be used, if the SmartField control is interacting with a JSON model. If the value property of the control is bound to a property of an OData entity set, this property is not considered.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
- Deprecated:
- Since 1.31.0
Returns:
Sets a new value for property
proposedControl
.
Proposes a control to be rendered. The smart field may ignore the proposal.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is None
.
Parameters:
- Deprecated:
- Since 1.32.0
- Since:
- 1.31.0
Returns: