J6/Grid/DerivedClass

From J Wiki
Jump to navigation Jump to search
J6/Grid | Data Options Types | Actions Events Methods | Class DerivedClass | Hierarchical MultiDimensional MultiLine Virtual | Examples

The main grid class is jzgrid, and other grid classes such as jsgrid are derived from this class. You can use these derived classes directly, or extend or customize them as required. The derived classes are:

jdgrid

This uses the grid as a development triangle. The data has values for durations based on the start time. Flipping the data shows the same data with columns of attained time, instead of durations. For example, see the demo Grid|Gallery|Development Triangle.

jsgrid

This uses the grid as a list selection box. For example, see the directory select utility:

load 'dir'
dirs ''

jtgrid

This displays a function table in a grid. The jtable script is an example of using this class. For example:

load 'jtable'
'!' conew 'jtable'