Defines a structure of the element of the 'items' aggregation.
Constructor for a new UploadCollectionItem
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.
new sap.m.UploadCollectionItem(sId?, mSettings?)
Param | Type | Default Value | Description |
---|---|---|---|
sId? | string | ID for the new control, will be generated automatically if no ID is provided. |
|
mSettings? | object | initial settings for the new control |
Name | Type | Default Value | Description |
---|---|---|---|
ariaLabelForPicture | string | Aria label for the icon (or for the image). |
|
contributor | string | Specifies the name of the user who uploaded the file. Visibility: public |
|
documentId | string | Specifies a unique identifier of the file (created by the application). Visibility: public |
|
enableDelete | boolean | true | Enables/Disables the Delete button. If the value is true, the Delete button is enabled and the delete function can be used. If the value is false, the delete function is not available. Visibility: public |
enableEdit | boolean | true | Enables/Disables the Edit button. If the value is true, the Edit button is enabled and the edit function can be used. If the value is false, the edit function is not available. Visibility: public |
fileName | string | Specifies the name of the uploaded file. Visibility: public |
|
fileSize | float | Specifies the size of the uploaded file (in megabytes). Visibility: public |
|
mimeType | string | Specifies the MIME type of the file. Visibility: public |
|
selected | boolean | false | Defines the selected state of the UploadCollectionItem. |
thumbnailUrl | string | Specifies the URL where the thumbnail of the file is located. This can also be an SAPUI5 icon URL. Visibility: public |
|
uploadedDate | string | Specifies the date on which the file was uploaded. The application has to define the date format. Visibility: public |
|
url | string | Specifies the URL where the file is located. If the application doesn't provide a value for this property, the icon and the file name of the UploadCollectionItem are not clickable. Visibility: public |
|
visibleDelete | boolean | true | Show/Hide the Delete button. If the value is true, the Delete button is visible. If the value is false, the Delete button is not visible. Visibility: public |
visibleEdit | boolean | true | Show/Hide the Edit button. If the value is true, the Edit button is visible. If the value is false, the Edit button is not visible. Visibility: public |
Default Aggregation: attributes
Name | Cardinality | Type | Description |
---|---|---|---|
_propertyAttributes | 0..n | sap.m.ObjectAttribute |
Hidden aggregation for the attributes created from the deprecated properties uploadedDate, contributor and fileSize |
attributes (default) | 0..n | sap.m.ObjectAttribute |
Attributes of an uploaded item, for example, 'Uploaded By', 'Uploaded On', 'File Size' attributes are displayed after an item has been uploaded. Additionally, the Active property of sap.m.ObjectAttribute is supported. |
markers | 0..n | sap.m.ObjectMarker |
Markers of an uploaded item Markers will be displayed after an item has been uploaded But not in Edit mode |
statuses | 0..n | sap.m.ObjectStatus |
Statuses of an uploaded item Statuses will be displayed after an item has been uploaded |
Name | Cardinality | Type | Description |
---|---|---|---|
fileUploader | 0..1 | sap.ui.unified.FileUploader |
ID of the FileUploader instance |
Event | Description |
---|---|
deletePress |
When a deletePress event handler is attached to the item and the user presses the delete button, this event is triggered. If this event is triggered, it overwrites the default delete behavior of UploadCollection and the fileDeleted event of UploadCollection is not triggered. |
press |
This event is triggered when the user presses the filename link. If this event is provided, it overwrites the default behavior of opening the file. |
When a deletePress event handler is attached to the item and the user presses the delete button, this event is triggered. If this event is triggered, it overwrites the default delete behavior of UploadCollection and the fileDeleted event of UploadCollection is not triggered.
Since: 1.50.0.
Param | Type | Description |
---|---|---|
oControlEvent | sap.ui.base.Event | |
getSource | sap.ui.base.EventProvider | |
getParameters | object |
Method | Description |
---|---|
addAttribute |
Adds some attribute to the aggregation attributes. |
addMarker |
Adds some marker to the aggregation markers. |
addStatus |
Adds some status to the aggregation statuses. |
attachDeletePress |
Attaches event handler When called, the context of the event handler (its When a deletePress event handler is attached to the item and the user presses the delete button, this event is triggered. If this event is triggered, it overwrites the default delete behavior of UploadCollection and the fileDeleted event of UploadCollection is not triggered. |
attachPress |
Attaches event handler When called, the context of the event handler (its This event is triggered when the user presses the filename link. If this event is provided, it overwrites the default behavior of opening the file. |
bindAttributes |
Binds aggregation attributes to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
bindMarkers |
Binds aggregation markers to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
bindStatuses |
Binds aggregation statuses to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of |
destroyAttributes |
Destroys all the attributes in the aggregation attributes. |
destroyMarkers |
Destroys all the markers in the aggregation markers. |
destroyStatuses |
Destroys all the statuses in the aggregation statuses. |
detachDeletePress |
Detaches event handler The passed function and listener object must match the ones used for event registration. |
detachPress |
Detaches event handler The passed function and listener object must match the ones used for event registration. |
download |
Downloads the item. The sap.ui.core.util.File method is used here. For further details on this method, see {sap.ui.core.util.File.save}. |
sap.m.UploadCollectionItem.extend |
Creates a new subclass of class sap.m.UploadCollectionItem with name
|
fireDeletePress |
Fires event deletePress to attached listeners. |
firePress |
Fires event press to attached listeners. |
getAriaLabelForPicture |
Gets current value of property ariaLabelForPicture. Aria label for the icon (or for the image). |
getAttributes |
Gets content of aggregation attributes. Attributes of an uploaded item, for example, 'Uploaded By', 'Uploaded On', 'File Size' attributes are displayed after an item has been uploaded. Additionally, the Active property of sap.m.ObjectAttribute is supported. |
getContributor |
Gets current value of property contributor. Specifies the name of the user who uploaded the file.
Since 1.30 This property is deprecated; use the aggregation attributes instead. However, if the property is filled, it is displayed as an attribute. To make sure the title does not appear twice, do not use the property.
|
getDocumentId |
Gets current value of property documentId. Specifies a unique identifier of the file (created by the application). |
getEnableDelete |
Gets current value of property enableDelete. Enables/Disables the Delete button. If the value is true, the Delete button is enabled and the delete function can be used. If the value is false, the delete function is not available. Default value is |
getEnableEdit |
Gets current value of property enableEdit. Enables/Disables the Edit button. If the value is true, the Edit button is enabled and the edit function can be used. If the value is false, the edit function is not available. Default value is |
getFileName |
Gets current value of property fileName. Specifies the name of the uploaded file. |
getFileSize |
Gets current value of property fileSize. Specifies the size of the uploaded file (in megabytes).
Since 1.30 This property is deprecated; use the aggregation attributes instead.
|
getFileUploader |
ID of the element which is the current target of the association fileUploader, or |
getMarkers |
Gets content of aggregation markers. Markers of an uploaded item Markers will be displayed after an item has been uploaded But not in Edit mode |
sap.m.UploadCollectionItem.getMetadata |
Returns a metadata object for class sap.m.UploadCollectionItem. |
getMimeType |
Gets current value of property mimeType. Specifies the MIME type of the file. |
getSelected |
Gets current value of property selected. Defines the selected state of the UploadCollectionItem. Default value is |
getStatuses |
Gets content of aggregation statuses. Statuses of an uploaded item Statuses will be displayed after an item has been uploaded |
getThumbnailUrl |
Gets current value of property thumbnailUrl. Specifies the URL where the thumbnail of the file is located. This can also be an SAPUI5 icon URL. |
getUploadedDate |
Gets current value of property uploadedDate. Specifies the date on which the file was uploaded. The application has to define the date format.
Since 1.30 This property is deprecated; use the aggregation attributes instead.
|
getUrl |
Gets current value of property url. Specifies the URL where the file is located. If the application doesn't provide a value for this property, the icon and the file name of the UploadCollectionItem are not clickable. |
getVisibleDelete |
Gets current value of property visibleDelete. Show/Hide the Delete button. If the value is true, the Delete button is visible. If the value is false, the Delete button is not visible. Default value is |
getVisibleEdit |
Gets current value of property visibleEdit. Show/Hide the Edit button. If the value is true, the Edit button is visible. If the value is false, the Edit button is not visible. Default value is |
indexOfAttribute |
Checks for the provided |
indexOfMarker |
Checks for the provided |
indexOfStatus |
Checks for the provided |
insertAttribute |
Inserts a attribute into the aggregation attributes. |
insertMarker |
Inserts a marker into the aggregation markers. |
insertStatus |
Inserts a status into the aggregation statuses. |
removeAllAttributes |
Removes all the controls from the aggregation attributes. Additionally, it unregisters them from the hosting UIArea. |
removeAllMarkers |
Removes all the controls from the aggregation markers. Additionally, it unregisters them from the hosting UIArea. |
removeAllStatuses |
Removes all the controls from the aggregation statuses. Additionally, it unregisters them from the hosting UIArea. |
removeAttribute |
Removes a attribute from the aggregation attributes. |
removeMarker |
Removes a marker from the aggregation markers. |
removeStatus |
Removes a status from the aggregation statuses. |
setAriaLabelForPicture |
Sets a new value for property ariaLabelForPicture. Aria label for the icon (or for the image). When called with a value of |
setContributor |
Sets a new value for property contributor. Specifies the name of the user who uploaded the file. When called with a value of
Since 1.30 This property is deprecated; use the aggregation attributes instead. However, if the property is filled, it is displayed as an attribute. To make sure the title does not appear twice, do not use the property.
|
setDocumentId |
Sets a new value for property documentId. Specifies a unique identifier of the file (created by the application). When called with a value of |
setEnableDelete |
Sets a new value for property enableDelete. Enables/Disables the Delete button. If the value is true, the Delete button is enabled and the delete function can be used. If the value is false, the delete function is not available. When called with a value of Default value is |
setEnableEdit |
Sets a new value for property enableEdit. Enables/Disables the Edit button. If the value is true, the Edit button is enabled and the edit function can be used. If the value is false, the edit function is not available. When called with a value of Default value is |
setFileName |
Sets a new value for property fileName. Specifies the name of the uploaded file. When called with a value of |
setFileSize |
Sets a new value for property fileSize. Specifies the size of the uploaded file (in megabytes). When called with a value of
Since 1.30 This property is deprecated; use the aggregation attributes instead.
|
setFileUploader |
Sets the associated fileUploader. |
setMimeType |
Sets a new value for property mimeType. Specifies the MIME type of the file. When called with a value of |
setSelected |
Sets a new value for property selected. Defines the selected state of the UploadCollectionItem. When called with a value of Default value is |
setThumbnailUrl |
Sets a new value for property thumbnailUrl. Specifies the URL where the thumbnail of the file is located. This can also be an SAPUI5 icon URL. When called with a value of |
setUploadedDate |
Sets a new value for property uploadedDate. Specifies the date on which the file was uploaded. The application has to define the date format. When called with a value of
Since 1.30 This property is deprecated; use the aggregation attributes instead.
|
setUrl |
Sets a new value for property url. Specifies the URL where the file is located. If the application doesn't provide a value for this property, the icon and the file name of the UploadCollectionItem are not clickable. When called with a value of |
setVisibleDelete |
Sets a new value for property visibleDelete. Show/Hide the Delete button. If the value is true, the Delete button is visible. If the value is false, the Delete button is not visible. When called with a value of Default value is |
setVisibleEdit |
Sets a new value for property visibleEdit. Show/Hide the Edit button. If the value is true, the Edit button is visible. If the value is false, the Edit button is not visible. When called with a value of Default value is |
unbindAttributes |
Unbinds aggregation attributes from model data. |
unbindMarkers |
Unbinds aggregation markers from model data. |
unbindStatuses |
Unbinds aggregation statuses from model data. |
Adds some attribute to the aggregation attributes.
Param | Type | DefaultValue | Description |
---|---|---|---|
oAttribute | sap.m.ObjectAttribute |
The attribute to add; if empty, nothing is inserted |
Adds some marker to the aggregation markers.
Param | Type | DefaultValue | Description |
---|---|---|---|
oMarker | sap.m.ObjectMarker |
The marker to add; if empty, nothing is inserted |
Adds some status to the aggregation statuses.
Param | Type | DefaultValue | Description |
---|---|---|---|
oStatus | sap.m.ObjectStatus |
The status to add; if empty, nothing is inserted |
Attaches event handler fnFunction
to the deletePress event of this sap.m.UploadCollectionItem
.
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.m.UploadCollectionItem
itself.
When a deletePress event handler is attached to the item and the user presses the delete button, this event is triggered. If this event is triggered, it overwrites the default delete behavior of UploadCollection and the fileDeleted event of UploadCollection is not triggered.
Param | Type | DefaultValue | Description |
---|---|---|---|
oData | object |
An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called when the event occurs |
|
oListener | object |
Context object to call the event handler with. Defaults to this |
Attaches event handler fnFunction
to the press event of this sap.m.UploadCollectionItem
.
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.m.UploadCollectionItem
itself.
This event is triggered when the user presses the filename link. If this event is provided, it overwrites the default behavior of opening the file.
Param | Type | DefaultValue | Description |
---|---|---|---|
oData | object |
An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called when the event occurs |
|
oListener | object |
Context object to call the event handler with. Defaults to this |
Binds aggregation attributes to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Binds aggregation markers to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Binds aggregation statuses to model data.
See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo
.
Param | Type | DefaultValue | Description |
---|---|---|---|
oBindingInfo | sap.ui.base.ManagedObject.AggregationBindingInfo |
The binding information |
Detaches event handler fnFunction
from the deletePress event of this sap.m.UploadCollectionItem
.
The passed function and listener object must match the ones used for event registration.
Param | Type | DefaultValue | Description |
---|---|---|---|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called, when the event occurs |
|
oListener | object |
Context object on which the given function had to be called |
Detaches event handler fnFunction
from the press event of this sap.m.UploadCollectionItem
.
The passed function and listener object must match the ones used for event registration.
Param | Type | DefaultValue | Description |
---|---|---|---|
fnFunction | function(sap.ui.base.Event) : void |
The function to be called, when the event occurs |
|
oListener | object |
Context object on which the given function had to be called |
Downloads the item. The sap.ui.core.util.File method is used here. For further details on this method, see {sap.ui.core.util.File.save}.
Param | Type | DefaultValue | Description |
---|---|---|---|
askForLocation | boolean |
Decides whether to ask for a location to download or not. |
Creates a new subclass of class sap.m.UploadCollectionItem 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.Element.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Fires event deletePress to attached listeners.
Param | Type | DefaultValue | Description |
---|---|---|---|
mParameters | object |
Parameters to pass along with the event |
Fires event press to attached listeners.
Param | Type | DefaultValue | Description |
---|---|---|---|
mParameters | object |
Parameters to pass along with the event |
Gets current value of property ariaLabelForPicture.
Aria label for the icon (or for the image).
Gets content of aggregation attributes.
Attributes of an uploaded item, for example, 'Uploaded By', 'Uploaded On', 'File Size' attributes are displayed after an item has been uploaded. Additionally, the Active property of sap.m.ObjectAttribute is supported.
Note that if one of the deprecated properties contributor, fileSize or UploadedDate is filled in addition to this attribute, two attributes with the same title are displayed as these properties get displayed as an attribute. Example: An application passes the property ‘contributor’ with the value ‘A’ and the aggregation attributes ‘contributor’: ‘B’. As a result, the attributes ‘contributor’:’A’ and ‘contributor’:’B’ are displayed. To make sure the title does not appear twice, check if one of the properties is filled.
Gets current value of property contributor.
Specifies the name of the user who uploaded the file.
Gets current value of property documentId.
Specifies a unique identifier of the file (created by the application).
Gets current value of property enableDelete.
Enables/Disables the Delete button. If the value is true, the Delete button is enabled and the delete function can be used. If the value is false, the delete function is not available.
Default value is true
.
Gets current value of property enableEdit.
Enables/Disables the Edit button. If the value is true, the Edit button is enabled and the edit function can be used. If the value is false, the edit function is not available.
Default value is true
.
Gets current value of property fileSize.
Specifies the size of the uploaded file (in megabytes).
ID of the element which is the current target of the association fileUploader, or null
.
Gets content of aggregation markers.
Markers of an uploaded item Markers will be displayed after an item has been uploaded But not in Edit mode
Returns a metadata object for class sap.m.UploadCollectionItem.
Gets current value of property selected.
Defines the selected state of the UploadCollectionItem.
Default value is false
.
Gets content of aggregation statuses.
Statuses of an uploaded item Statuses will be displayed after an item has been uploaded
Gets current value of property thumbnailUrl.
Specifies the URL where the thumbnail of the file is located. This can also be an SAPUI5 icon URL.
Gets current value of property uploadedDate.
Specifies the date on which the file was uploaded. The application has to define the date format.
Gets current value of property url.
Specifies the URL where the file is located. If the application doesn't provide a value for this property, the icon and the file name of the UploadCollectionItem are not clickable.
Gets current value of property visibleDelete.
Show/Hide the Delete button. If the value is true, the Delete button is visible. If the value is false, the Delete button is not visible.
Default value is true
.
Gets current value of property visibleEdit.
Show/Hide the Edit button. If the value is true, the Edit button is visible. If the value is false, the Edit button is not visible.
Default value is true
.
Checks for the provided sap.m.ObjectAttribute
in the aggregation attributes. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oAttribute | sap.m.ObjectAttribute |
The attribute whose index is looked for |
Checks for the provided sap.m.ObjectMarker
in the aggregation markers. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oMarker | sap.m.ObjectMarker |
The marker whose index is looked for |
Checks for the provided sap.m.ObjectStatus
in the aggregation statuses. and returns its index if found or -1 otherwise.
Param | Type | DefaultValue | Description |
---|---|---|---|
oStatus | sap.m.ObjectStatus |
The status whose index is looked for |
Inserts a attribute into the aggregation attributes.
Param | Type | DefaultValue | Description |
---|---|---|---|
oAttribute | sap.m.ObjectAttribute |
The attribute to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Inserts a marker into the aggregation markers.
Param | Type | DefaultValue | Description |
---|---|---|---|
oMarker | sap.m.ObjectMarker |
The marker to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Inserts a status into the aggregation statuses.
Param | Type | DefaultValue | Description |
---|---|---|---|
oStatus | sap.m.ObjectStatus |
The status to insert; if empty, nothing is inserted |
|
iIndex | int |
The |
Removes all the controls from the aggregation attributes.
Additionally, it unregisters them from the hosting UIArea.
Removes all the controls from the aggregation markers.
Additionally, it unregisters them from the hosting UIArea.
Removes all the controls from the aggregation statuses.
Additionally, it unregisters them from the hosting UIArea.
Removes a attribute from the aggregation attributes.
Param | Type | DefaultValue | Description |
---|---|---|---|
vAttribute | int string sap.m.ObjectAttribute |
The attribute to remove or its index or id |
Removes a marker from the aggregation markers.
Param | Type | DefaultValue | Description |
---|---|---|---|
vMarker | int string sap.m.ObjectMarker |
The marker to remove or its index or id |
Removes a status from the aggregation statuses.
Param | Type | DefaultValue | Description |
---|---|---|---|
vStatus | int string sap.m.ObjectStatus |
The status to remove or its index or id |
Sets a new value for property ariaLabelForPicture.
Aria label for the icon (or for the image).
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sAriaLabelForPicture | string |
New value for property |
Sets a new value for property contributor.
Specifies the name of the user who uploaded the file.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sContributor | string |
New value for property |
Sets a new value for property documentId.
Specifies a unique identifier of the file (created by the application).
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sDocumentId | string |
New value for property |
Sets a new value for property enableDelete.
Enables/Disables the Delete button. If the value is true, the Delete button is enabled and the delete function can be used. If the value is false, the delete function is not available.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bEnableDelete | boolean | true |
New value for property |
Sets a new value for property enableEdit.
Enables/Disables the Edit button. If the value is true, the Edit button is enabled and the edit function can be used. If the value is false, the edit function is not available.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bEnableEdit | boolean | true |
New value for property |
Sets a new value for property fileName.
Specifies the name of the uploaded file.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sFileName | string |
New value for property |
Sets a new value for property fileSize.
Specifies the size of the uploaded file (in megabytes).
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
fFileSize | float |
New value for property |
Sets the associated fileUploader.
Param | Type | DefaultValue | Description |
---|---|---|---|
oFileUploader | sap.ui.core.ID sap.ui.unified.FileUploader |
ID of an element which becomes the new target of this fileUploader association; alternatively, an element instance may be given |
Sets a new value for property mimeType.
Specifies the MIME type of the file.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sMimeType | string |
New value for property |
Sets a new value for property selected.
Defines the selected state of the UploadCollectionItem.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bSelected | boolean | false |
New value for property |
Sets a new value for property thumbnailUrl.
Specifies the URL where the thumbnail of the file is located. This can also be an SAPUI5 icon URL.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sThumbnailUrl | string |
New value for property |
Sets a new value for property uploadedDate.
Specifies the date on which the file was uploaded. The application has to define the date format.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sUploadedDate | string |
New value for property |
Sets a new value for property url.
Specifies the URL where the file is located. If the application doesn't provide a value for this property, the icon and the file name of the UploadCollectionItem are not clickable.
When called with a value of null
or undefined
, the default value of the property will be restored.
Param | Type | DefaultValue | Description |
---|---|---|---|
sUrl | string |
New value for property |
Sets a new value for property visibleDelete.
Show/Hide the Delete button. If the value is true, the Delete button is visible. If the value is false, the Delete button is not visible.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bVisibleDelete | boolean | true |
New value for property |
Sets a new value for property visibleEdit.
Show/Hide the Edit button. If the value is true, the Edit button is visible. If the value is false, the Edit button is not visible.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
Param | Type | DefaultValue | Description |
---|---|---|---|
bVisibleEdit | boolean | true |
New value for property |