cpr.controls.gridpart.GridBand

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 GridColumn
getColumnByColIndex GridColumn[]
getControl UIControl Returns controls that exist in a specific cell.
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
type Number
readonly
Returns the number of cells in the band.

Methods

getCellIndices()
Returns an array of cellIndex.
return Number[] cellIndex array.
getColumn(cellIndex)
Parameters
name type description
cellIndex Number
return GridColumn
getColumnByColIndex(colIndex, colSpan)
Parameters
name type description
colIndex Number
colSpan Number
return GridColumn[]
getControl(cellIndex)
Returns controls that exist in a specific cell.
Parameters
name type description
cellIndex Number Cell index.
return UIControl The control that exists at the input cell index.
getRowHeight(rowIndex)
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()
Returns the row height of the region.
Row height at design time.
The unit is px.
return { height: Number }[] Row height array.
setRowHeights(heights)
Change the row height of the area.
Parameters
name type description
heights Number[] Set height array. (ex. [30])