Class sap.gantt.control.CellModule: sap/gantt/control/Cell
Cell acts as an abstract class. You can use this class to define a placeholder for your application to provide the specific implementation. Applications can fill the cell content by using cellCallback which returns instances such as Icon, Text, or Text input.
You can also use this class to define column specific properties that are applied when rendering a list.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- cellCallback : object
- columnConfig : sap.gantt.config.HierarchyColumn
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
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.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
{object} | Current accessibility state of the control. |
{sap.ui.core.Control#getAccessibilityInfo} |
cellCallback
. Cell callback function that returns the specific control instance which is rendered in a table.
{object} | Value of property cellCallback |
columnConfig
. Column configuration object.
{sap.gantt.config.HierarchyColumn} | Value of property columnConfig |
cellCallback
. Cell callback function that returns the specific control instance which is rendered in a table.
When called with a value of null
or undefined
, the default value of the property will be restored.
{object} | oCellCallback | New value for property cellCallback |
{sap.gantt.control.Cell} | Reference to this in order to allow method chaining |
columnConfig
. Column configuration object.
When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.gantt.config.HierarchyColumn} | sColumnConfig | New value for property columnConfig |
{sap.gantt.control.Cell} | Reference to this in order to allow method chaining |