cpr.controls.gridpart.config.GridCellConfigurator

Index

Properties
Name Type Description
control UIControl Returns the control placed in the cell.
controlConstraint ControlConstraint Returns Control Constraints.
fieldLabel String Returns the logical field name of the cell.
formula String Returns the function expression to be expressed in a cell when exporting to Excel.
style GridStyler Returns the style settings for the cell.
tooltip String
Methods
Name Return Type Description
bind IBindFactory Gets the bind factory for the given attribute name.
getBindInfo BindInfo Returns bind attribute information.
isBindable Boolean Make sure it is a bindable property.
unbind

Constructor

GridCellConfigurator(grid)
Parameters
name type description
grid Grid

Properties

control
type UIControl
get
Returns the control placed in the cell.
set
Sets the control for the cell.
controlConstraint
type ControlConstraint
get
Returns Control Constraints.
set
Set Control Constraints.
fieldLabel
type String
get
Returns the logical field name of the cell.
set
Set the logical field name of the cell.
If the fieldLabel of the control placed in the cell is set, the fieldLabel of the control is applied.
formula
type String
get
Returns the function expression to be expressed in a cell when exporting to Excel.
set
Set the function expression to be expressed in the cell when exporting to Excel.
Supported built-in functions:
#C(number?) Convert set cell index or current cell index to Excel column name #R(number?) Use the set row index or convert the current row index to Excel row index
style
type GridStyler
readonly
Returns the style settings for the cell.
tooltip
type String

Methods

bind(name)
Gets the bind factory for the given attribute name.
Parameters
name type description
name String The attribute name for which to get the bind factory.
return IBindFactory
getBindInfo(name)
Returns bind attribute information.
Parameters
name type description
name String The name of the attribute being bound.
return BindInfo BindInfo Properties
isBindable(name)
Make sure it is a bindable property.
Parameters
name type description
name String Properties to check.
return Boolean
unbind(name)
Parameters
name type description
name String