The following are the public methods of the base jzgrid class.
Method | Description |
create | resets grid globals |
destroy | destroy object (cover for codestroy) |
get | get data for grid, returns 1 if new data was required |
gridselect | selects grid control (cover for glsel) |
init |
initialize grid. Argument is: dataname name of grid data |
setdata | set new data in grid |
setfont0 | set font 0 |
setfont1 | set font 1 |
setheights | set heights for range |
setwidths | set widths for range |
Event handler methods
The following methods handle events for the grid control and are defined in jzgrid.
Method | Description |
char | character event handler |
mbldbl | mouse button left double click |
mbldown | mouse button left down |
mblup | mouse button left up |
mbrdbl | mouse button right double click |
mbrdown | mouse button right down |
mbrup | mouse button right up |
mmove | mouse button move |
scrollbar | scroll horizontal bar |
scrollbarv | scroll vertical bar |
size |
size event handler |
Watch Methods The following are the public methods of the watch class jwgrid. In some cases, the watch class method overrides the base method.
Method | Description |
copy | copy selected cells to clipboard |
create | resets grid globals |
destroy | destroy method |
paste | paste clipboard into grid |
setdata | set new data in grid |
sethightlight |
show highlights in grid |