cpr.controls.gridpart.config.GridDetailCellConfigurator

Hierarchy

Index

Properties
Name Type Description
columnName #column Returns the dataset column name to connect to the cell.
columnType "checkbox" | "normal" | "radio" | "rowindex" If it is a basic column, it returns the column type.
control UIControl Returns the control placed in the cell.
controlConditionExp #expression Returns the expression of conditional control placement.
controlConstraint ControlConstraint Returns Control Constraints.
controlConstraints {[conditionalId:string]: cpr.controls.gridpart.ControlConstraint} Conditional control returns the constraint of the controls placed in the cell.
factory {[conditionalId:string]: cpr.controls.UIControl} Conditional control returns the controls to be placed in the cell.
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.
keepMerged Boolean Returns whether to maintain the merged state applied to the merged cell when entering edit mode.
mergeToIndexExpr #expression Returns an expression that returns the index of the cells to be merged.
mergedColumnName #column Returns the column name of DataSet to be expressed when cells are merged.
style GridStyler Returns the style settings for the cell.
suppressRef #column Returns other column index settings that will affect the suppressible (cell text hidden) effect.
suppressible Boolean Cells that match the value of the immediately previous row will return a setting value that indicates whether to hide the text.
suppressibleExpr #expression Returns an expression expression that returns whether to actually perform suppress on cells for which suppressible is true.
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

GridDetailCellConfigurator(grid)
Parameters
name type description
grid Grid

Properties

columnName
type #column
get
Returns the dataset column name to connect to the cell.
set
Set the column name of the dataset to be connected to the cell.
columnType
type "checkbox" | "normal" | "radio" | "rowindex"
get
If it is a basic column, it returns the column type.
set
If it is a basic column, set the column type.
control
declaring type GridCellConfigurator
type UIControl
get
Returns the control placed in the cell.
set
Sets the control for the cell.
controlConditionExp
type #expression
get
Returns the expression of conditional control placement.
set
Set the expression for conditional control placement.
controlConstraint
declaring type GridCellConfigurator
type ControlConstraint
get
Returns Control Constraints.
set
Set Control Constraints.
controlConstraints
type {[conditionalId:string]: cpr.controls.gridpart.ControlConstraint}
get
Conditional control returns the constraint of the controls placed in the cell.
set
Set the constraint of the controls placed in the cell when the conditional control is placed.
factory
type {[conditionalId:string]: cpr.controls.UIControl}
get
Conditional control returns the controls to be placed in the cell.
set
Set the controls to be placed in the cell when the conditional control is placed.
fieldLabel
declaring type GridCellConfigurator
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
declaring type GridCellConfigurator
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
keepMerged
type Boolean
get
Returns whether to maintain the merged state applied to the merged cell when entering edit mode.
set
Set whether to keep the merged state applied to the merged cell when entering edit mode.
mergeToIndexExpr
type #expression
get
Returns an expression that returns the index of the cells to be merged. If it is not set or returns its own index, it will not merge. Cell merge does not support automatic height.
set
Set up an expression that returns the index of the cells to be merged. If it is not set or returns its own index, it will not merge. Cell merge does not support automatic height.
mergedColumnName
type #column
get
Returns the column name of DataSet to be expressed when cells are merged. If cells are not merged, the column value set in the columnName property is displayed. Cell merge does not support auto height.
set
Set the column name of DataSet to be expressed when cells are merged. If cells are not merged, the column value set in the columnName property is displayed. Cell merge does not support automatic height.
style
declaring type GridCellConfigurator
type GridStyler
readonly
Returns the style settings for the cell.
suppressRef
type #column
get
Returns other column index settings that will affect the suppressible (cell text hidden) effect.
(Related property: [suppressible] This property is valid when suppressible=true.)
set
Set other column indices that will affect the suppressible (cell text hidden) effect.
(Related property: [suppressible] This property is valid when suppressible=true.)
suppressible
type Boolean
get
Cells that match the value of the immediately previous row will return a setting value that indicates whether to hide the text. (Providing a cell merging effect)
set
Cells that match the value of the immediately previous row set whether to hide the text. (Providing a cell merging effect)
suppressibleExpr
type #expression
get
Returns an expression expression that returns whether to actually perform suppress on cells for which suppressible is true. If the value returned as a result of executing the expression is true, suppress is executed, and if false, suppress from suppression. If suppressible is set to a valid attribute only when true, suppress is executed by default.
set
An expression that returns whether suppressible is actually suppressed in the cell for which it is true. If the value returned as a result of executing the expression is true, suppress is executed, and if false, suppress from suppression. If suppressible is set to a valid attribute only when true, suppress is executed by default.
tooltip
declaring type GridCellConfigurator
type String

Methods

bind(name)
declaring typeGridCellConfigurator
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)
declaring typeGridCellConfigurator
Returns bind attribute information.
Parameters
name type description
name String The name of the attribute being bound.
return BindInfo BindInfo Properties
isBindable(name)
declaring typeGridCellConfigurator
Make sure it is a bindable property.
Parameters
name type description
name String Properties to check.
return Boolean
unbind(name)
declaring typeGridCellConfigurator
Parameters
name type description
name String