cpr.controls.gridpart.GridFooterColumn

A wrapper object that lets you edit grid cell properties and styles.
Hierarchy

Index

Properties
Name Type Description
cellIndex Number Returns the cellIndex of the cell.
cellProp GridCellProp Returns the configuration information of the cell.
colIndex Number Returns the colIndex constituting the cell.
colSpan Number Returns the colSpan that composes the cell.
columnName String Returns the column name of the DataSet mapped to this cell.
columnType String Returns the columnType set in the cell.
control UIControl Returns the controls in that cell.
controlType String Returns the control type of the control in that cell.
expr String Returns the expression set in the cell.
fieldLabel String Returns the logical field name of the cell.
filterable Boolean If it is a cell in the header area, returns whether the multi-filter function is used in that cell.
formula String Returns the function expression to be expressed in a cell when exporting to Excel.
rowIndex Number Returns the rowIndex constituting the cell.
rowSpan Number Returns the rowSpan that composes the cell.
sortColumnName String In the case of a cell in the header area, the column name to be sorted is returned when the cell is clicked.
sortable Boolean If it is a cell in the header area, returns whether the multi-sort function is used in that cell.
style GridStyler Returns the style settings.
targetColumnName String For cells in the header area, when using filterable and sortable of the cell, the target dataset column name of the function is returned.
text String Returns the text set in the cell.
tooltip String Get a cell tooltip.
visible Boolean Returns the visible setting of the header cell.
Methods
Name Return Type Description
ariaLabel String Applies the entered ariaLabel value to the aria-label attribute of the control HTML element.
bind IBindFactory Bind that property.
getAriaColIndex Number Returns the value of the cell number.
getBindInfo BindInfo Returns bind attribute information.
getControlAttr Object If a control exists in that cell, returns the value of that control's specific properties.
getExpr String Returns the expression set in the cell.
getText String Returns the text set in the cell.
isBindable Boolean Make sure it is a bindable property.
setExpr Set an expression in that Cell.
setText Set text in the cell.
unbind Unbind that property.

Properties

cellIndex
declaring type GridColumn
type Number
readonly
Returns the cellIndex of the cell.
cellProp
declaring type GridColumn
type GridCellProp
readonly
Returns the configuration information of the cell.
colIndex
declaring type GridColumn
type Number
readonly
Returns the colIndex constituting the cell.
colSpan
declaring type GridColumn
type Number
readonly
Returns the colSpan that composes the cell.
columnName
deprecated19.01.21 This function is provided only in detail area.
declaring type GridRowGroupColumn
type String
readonly
Returns the column name of the DataSet mapped to this cell. (Column names can exist only in cells in the Detail area.)
columnType
declaring type GridRowGroupColumn
type String
readonly
Returns the columnType set in the cell.
(ColumnType can exist only in the cells of the Header, Detail, and Group Header areas.)
control
declaring type GridColumn
type UIControl
readonly
Returns the controls in that cell.
controlType
declaring type GridColumn
type String
readonly
Returns the control type of the control in that cell.
expr
declaring type GridRowGroupColumn
type String
get
Returns the expression set in the cell.
(footer only)
set
Set an expression in that Cell.
(footer only)
fieldLabel
declaring type GridColumn
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.
filterable
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type Boolean
get
If it is a cell in the header area, returns whether the multi-filter function is used in that cell.
set
In the case of a cell in the header area, set whether to use the multi-filter function in the cell.
formula
declaring type GridColumn
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?) Converts 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 an Excel row index
rowIndex
declaring type GridColumn
type Number
readonly
Returns the rowIndex constituting the cell.
rowSpan
declaring type GridColumn
type Number
readonly
Returns the rowSpan that composes the cell.
sortColumnName
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type String
get
In the case of a cell in the header area, the column name to be sorted is returned when the cell is clicked.
set
In the case of a cell in the header area, set the column name to be sorted when the cell is clicked.
sortable
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type Boolean
get
If it is a cell in the header area, returns whether the multi-sort function is used in that cell.
set
In the case of a cell in the header area, set whether to use the multi-sort function in the cell.
style
declaring type GridColumn
type GridStyler
readonly
Returns the style settings. cpr.data.UIControl.style Note
targetColumnName
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type String
get
For cells in the header area, when using filterable and sortable of the cell, the target dataset column name of the function is returned.
set
For cells in the header area, when using filterable and sortable of the cell, set the target dataset column name of the function.
text
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type String
get
Returns the text set in the cell.
(header only)
set
Set text in the cell.
(header only)
tooltip
declaring type GridColumn
type String
get
Get a cell tooltip.
set
Specifies a cell tooltip.
It works on mouse over.
visible
deprecatedThis function is provided only in the 19.01.21 header area.
declaring type GridRowGroupColumn
type Boolean
get
Returns the visible setting of the header cell.
set
Set the visible of the header cell.
Configuration information is visible to all columns where the header cell is located.

Methods

ariaLabel(ariaLabel)
declaring typeGridColumn
Applies the entered ariaLabel value to the aria-label attribute of the control HTML element.
Only valid in fieldLabel attribute expressions.
When ariaLabel is used, only the entered ariaLabel value is applied, not including cell location information and text values ​​that are applied by default.
Parameters
name type description
ariaLabel String ariaLabel to set
return String Applied ariaLabel
bind(name)
declaring typeGridColumn
Bind that property.
Parameters
name type description
name String The attribute name to bind.
return IBindFactory Factory showing bind type.
getAriaColIndex()
declaring typeGridColumn
Returns the value of the cell number.
If the cell is not visible on the grid, no value is returned. Or you must use wholeRenderingMode.
The getAriaColIndex information is required for accessibility.
If ariaLabelCellPosition is set to false in the default.js setting, cell location information is not included in the grid cell aria-label. Use getAriaColIndex when the user wants to include cell location information as fieldLabel.
return Number
getBindInfo(name)
declaring typeGridColumn
Returns bind attribute information.
Parameters
name type description
name String The name of the attribute being bound.
return BindInfo BindInfo Properties
getControlAttr(attrName)
If a control exists in that cell, returns the value of that control's specific properties.
Parameters
name type description
attrName String Attribute name.
return Object Property Value.
getExpr()
declaring typeGridRowGroupColumn
Returns the expression set in the cell.
(footer only)
return String The expression set in the cell.
getText()
declaring typeGridRowGroupColumn
deprecatedThis function is provided only in the 19.01.21 header area.
Returns the text set in the cell.
(header only)
return String The text set in the cell.
isBindable(name)
declaring typeGridColumn
Make sure it is a bindable property.
Parameters
name type description
name String Properties to check.
return Boolean
setExpr(expr)
declaring typeGridRowGroupColumn
Set an expression in that Cell.
(footer only)
Parameters
name type description
expr String The expression to set.
setText(text)
declaring typeGridRowGroupColumn
deprecatedThis function is provided only in the 19.01.21 header area.
Set text in the cell.
(header only)
Parameters
name type description
text String The text to set.
unbind(name)
declaring typeGridColumn
Unbind that property.
Parameters
name type description
name String Attribute name to unbind.