TABLEUPDATE Grid Notify Event
Description
For BBj-specific documentation, see Table Update - GRID Notify Event 22 BBj.
Indicates that the grid requires information from the application before it can be redrawn. When one or more cells in a grid need to be redrawn, this event is issued. It is the programmer's responsibility to provide code to redraw the cell(s) specified in the TABLEUPDATE event.
It is imperative that an event loop managing a standard grid check for Notify event 22 from the main grid control and the row header grid, if present, and respond to them. Otherwise blank cells and headers may appear in the grid (see the Standard Grid Tutorial 1: Display-Only Grid and Standard Grid Tutorial 2: User-Modifiable Grid for examples of how this can be done).
Event Template
context:u(2),code:i(1),id:u(2),objtype:i(2),leftcol:u(6),toprow:u(6),rightcol:u(6),botrow:u(6)
Significant Field |
Description |
context |
Context in which the event occurred. |
code |
22 |
id |
ID of the resource that caused the event. |
leftcol |
Last four fields define the range of cells that need to be redrawn. Note that row and column numbering is zero-based. The leftcol field indicates the leftmost column with cells that need to be redrawn. |
toprow |
Top row with cells that need to be redrawn. |
rightcol |
Rightmost column with cells that need to be redrawn. |
botrow |
Bottom row with cells that need to be redrawn |