sap.m.TablePersoDialog.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.m.TablePersoDialog 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.base.ManagedObject.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.m.TablePersoDialog.
Returns:
Attaches event handler
fnFunction to the
cancel event of this
sap.m.TablePersoDialog.
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.TablePersoDialog itself.
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.m.TablePersoDialog itself |
Returns:
Attaches event handler
fnFunction to the
confirm event of this
sap.m.TablePersoDialog.
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.TablePersoDialog itself.
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.m.TablePersoDialog itself |
Returns:
Detaches event handler
fnFunction from the
cancel event of this
sap.m.TablePersoDialog.
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
confirm event of this
sap.m.TablePersoDialog.
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 cancel to attached listeners.
Parameters:
| {Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event confirm to attached listeners.
Parameters:
| {Map} | mArguments? | The arguments to pass along with the event |
Returns:
getColumnInfoCallback(): object
Gets current value of property columnInfoCallback.
Returns:
| {object} | Value of property columnInfoCallback |
Gets current value of property contentHeight.
Returns:
Gets current value of property contentWidth.
Returns:
getHasGrouping(): boolean
Gets current value of property hasGrouping.
Returns:
| {boolean} | Value of property hasGrouping |
getInitialColumnState(): object
Gets current value of property initialColumnState.
Returns:
| {object} | Value of property initialColumnState |
ID of the element which is the current target of the association persoDialogFor, or null.
Returns:
getPersoMap(): object
Gets current value of property persoMap.
Returns:
| {object} | Value of property persoMap |
getShowResetAll(): boolean
Gets current value of property showResetAll.
Returns:
| {boolean} | Value of property showResetAll |
getShowSelectAll(): boolean
Gets current value of property showSelectAll.
Returns:
| {boolean} | Value of property showSelectAll |
init()
Initializes the TablePersoDialog instance after creation.
open()
Sets the content of the dialog, being list items representing the associated table's column settings, and opens the dialog
retrievePersonalizations(): object
Returns the personalizations made. Currently supports a 'columns' property which holds an array of settings, one element per column in the associated table. The element contains column-specific information as follows: id: column id; order: new order; text: the column's header text that was displayed in the dialog; visible: visibility (true or false).
Returns:
| {object} | the personalization data |
Sets a new value for property
columnInfoCallback.
When called with a value of null or undefined, the default value of the property will be restored.
Parameters:
| {object} | oColumnInfoCallback | New value for property columnInfoCallback |
Returns:
Sets a new value for property
contentHeight.
When called with a value of null or undefined, the default value of the property will be restored.
Parameters:
Returns:
Sets a new value for property
contentWidth.
When called with a value of null or undefined, the default value of the property will be restored.
Parameters:
Returns:
setHasGrouping(bHasGrouping): TablePersoDialog
Setter to turn on/ switch off TablePersoDialog's grouping mode.
Parameters:
| {boolean} | bHasGrouping | groping mode on or off. |
Returns:
| {TablePersoDialog} | the TablePersoDialog instance. |
Sets a new value for property
initialColumnState.
When called with a value of null or undefined, the default value of the property will be restored.
Parameters:
| {object} | oInitialColumnState | New value for property initialColumnState |
Returns:
Sets the associated persoDialogFor.
Parameters:
| {sap.m.Table} | oPersoDialogFor | Id of an element which becomes the new target of this persoDialogFor association; alternatively, an element instance may be given |
Returns:
Sets a new value for property
persoMap.
When called with a value of null or undefined, the default value of the property will be restored.
Parameters:
| {object} | oPersoMap | New value for property persoMap |
Returns:
setShowResetAll(bShowResetAll): TablePersoDialog
Setter to show/hide TablePersoDialog's 'Undo Personalization' button.
Parameters:
| {boolean} | bShowResetAll | 'undo Personalization' button visible or not. |
Returns:
| {TablePersoDialog} | the TablePersoDialog instance. |
setShowSelectAll(bShowSelectAll): TablePersoDialog
Setter to show/hide TablePersoDialog's 'selectAll' checkbox.
Parameters:
| {boolean} | bShowSelectAll | selectAll checkbox visible or not. |
Returns:
| {TablePersoDialog} | the TablePersoDialog instance. |
Destroys the persoService in the aggregation persoService.
- Deprecated:
- Since version 1.30.1 This aggregate is no longer used. It collided with the TablePersoController's persoService reference
Returns:
Gets content of aggregation
persoService.
Refers to the service for reading and writing the personalization.
- Deprecated:
- Since version 1.30.1 This aggregate is no longer used. It collided with the TablePersoController's persoService reference
Returns:
Sets the aggregated persoService.
Parameters:
| {Object} | oPersoService | The persoService to set |
- Deprecated:
- Since version 1.30.1 This aggregate is no longer used. It collided with the TablePersoController's persoService reference
Returns: