BBjStandardGrid::clearRowHeader

Description

Removes all data from the grid row header in the BBjStandardGrid.

Syntax

Return Value

Method

void

clearRowHeader()

void

clearRowHeader(int p_row)

Parameters

Variable

Description

p_row

Specifies the 0-based row of the cell to test for selection.

Return Value

None.

Remarks

Not specifying a row will remove all data from the row header cells in the grid. Specifying a row will only remove the data from that row’s grid header cell.

Example

declare BBjSysGui sysgui!
declare BBjWindow win!
declare BBjStandardGrid grid!
declare BBjGridHeader header!
sysgui!=BBjAPI().openSysGui("X0")
win!=sysgui!.addWindow(0,0,640,480,"Grid Testing Program")
grid!=win!.addGrid(101,201,202,0,0,640,400,$8040$,10,3)
grid!.setHasColumnHeader(1)
grid!.setHasRowHeader(1)
grid!.setColumnHeaderCellText(0, "Column 0")
grid!.setColumnHeaderCellText(1, "Column 1")
grid!.setColumnHeaderCellText(2, "Column 2")
grid!.setRowHeaderCellText(0, "Row 0")
grid!.setRowHeaderCellText(1, "Row 1")
grid!.setRowHeaderCellText(2, "Row 2")
grid!.setRowHeaderCellText(3, "Row 3")
grid!.setRowHeaderCellText(4, "Row 4")
grid!.setRowHeaderCellText(5, "Row 5")
grid!.setRowHeaderCellText(6, "Row 6")
grid!.setRowHeaderCellText(7, "Row 7")
grid!.setRowHeaderCellText(8, "Row 8")
grid!.setRowHeaderCellText(9, "Row 9")
grid!.clearColumnHeader(1)
grid!.clearRowHeader(5)
process_events

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.