showgrid.ijs

Script: ~addons/finance/finexec/toolbox/showgrid.ijs
Contributor: William Szuch
Updated: 2022 6 26
Depend: nil
Definitions: loaded to locale base
Status: dev
Script source: showgrid.ijs

Display data in a grid.
Further dev - cut data from display.
See: showtable.ijs, edittable.ijs

Definitions

S showgrid

showgrid (monad)

Syntax

showgrid(D)
D = data table
   numeric - undoxed and boxed
   text - boxed
   numeric/text - boxed

Example

  showgrid i. 12 12
  showgrid <"0 i. 12 12
 Sample data tables
 A =: i. 10 10
 A1 =: <"0 i. 10 10
 B =: 10 10 $ <'Text'
 C =: A1,.B
  showgrid A
  showgrid A1
  showgrid B
  showgrid C
 Show a large grid - 1,000,000 cells
 Faster than showtable
  showgrid ? 1000 1000 $10000
 Causes J to crash ?
   showgrid 10 10 $'A'

 OK
   showgrid <"0 [10 10 $'A'