cpr.controls.gridpart.GridRowGroupBand

Hierarchy

Index

Properties
Name Type Description
cellCount Number Returns the number of cells in the band.
style GridStyler Returns the style settings of the control.
Methods
Name Return Type Description
getCellIndices Number[] Returns an array of cellIndex.
getColumn GridRowGroupColumn Returns a specific cell.
getColumnByColIndex GridRowGroupColumn[] Returns an array of GridColumn that fits this information.
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
declaring type GridBand
type Number
readonly
Returns the number of cells in the band.
style
type GridStyler
readonly
Returns the style settings of the control. cpr.data.UIControl.style Note

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 GridRowGroupColumn The 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 GridRowGroupColumn[] A GridColumn array for that information.
getControl(cellIndex)
declaring typeGridBand
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)
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)
Change the row height of the area.
Parameters
name type description
heights Number[]