cpr.controls.gridpart.GridDetailBand

Hierarchy

Index

Properties
Name Type Description
cellCount Number Returns the number of cells in the band.
Methods
Name Return Type Description
getCellIndices Number[] Returns an array of cellIndex.
getColumn GridDetailColumn Returns a specific cell.
getColumnByColIndex GridDetailColumn[] Returns an array of GridColumn that fits this information.
getColumnByName GridDetailColumn[] Returns an array of GridDetailColumn bound to a specific columnName.
getControl UIControl Returns the controls present in a specific cell.
getControlAttr Object If a control exists in a specific cell, it returns the value of the specific property of the control in a particular row.
getRowHeight Number Returns the height of each region by row index.
getRowHeights { height: Number }[] Returns the row height of the region.
setRowHeights Change the row height of the area.

Properties

cellCount
declaring type GridBand
type Number
readonly
Returns the number of cells in the band.

Methods

getCellIndices()
declaring typeGridBand
Returns an array of cellIndex.
return Number[] cellIndex array.
getColumn(cellIndex)
Returns a specific cell.
Parameters
name type description
cellIndex Number Cell index.
return GridDetailColumn Cell of the input cell index.
getColumnByColIndex(colIndex, colSpan)
Returns an array of GridColumn that fits this information.
Parameters
name type description
colIndex Number The colIndex of the column to find.
colSpan Number The colSpan of the column you are looking for.
return GridDetailColumn[] A GridColumn array for that information.
getColumnByName(columnName)
Returns an array of GridDetailColumn bound to a specific columnName.
This function is provided only in detail.
Parameters
name type description
columnName String The columnName bound to detail.
return GridDetailColumn[] GridDetailColumn array of input columnName.
getControl(cellIndex, conditionalId)
Returns the controls present in a specific cell.
If a specific cell is a conditional control, you must enter the ConditionalID.
Parameters
name type description
cellIndex Number Cell index.
conditionalIdoptional String Conditional ID. (EXPERIMENTAL)
return UIControl Controls in the input cell index.
getControlAttr(rowIndex, cellIndex, attrName)
If a control exists in a specific cell, it returns the value of the specific property of the control in a particular row.
Parameters
name type description
rowIndex Number Row index to get the attribute value.
cellIndex Number
attrName String Attribute name.
return Object Property Value.
getRowHeight(rowIndex)
declaring typeGridBand
Returns the height of each region by row index.
The unit is px.
Parameters
name type description
rowIndex Number Row index.
return Number The height of the input row index.
getRowHeights()
declaring typeGridBand
Returns the row height of the region.
Row height at design time.
The unit is px.
return { height: Number }[] Row height array.
setRowHeights(heights)
declaring typeGridBand
Change the row height of the area.
Parameters
name type description
heights Number[] Set height array. (ex. [30])