showtable.ijs

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

Definition to show tables of data:
   numeric - undoxed and boxed
   text - unboxed and boxed
   numeric/text - boxed
Using QTableWidget.
Modify to use for transfer of data from J to Excel.
See: edittable

Definitions

S showtable

showtable (monad)

Form: explicit
Depend: nil

Syntax

ntable(D)
D = data table: unboxed or boxed to be shown

Example

  showtable i. 10 10
  showtable <"0 ? 10 10 $ 10000
  showtable 1 1 $ 1000
  showtable ? 1000 1000 $10000 NB. Slow
  Slower than  showgrid for large data tables.
  showtable <"0 [12 12 $'A'
  showtable  12 12 $<'A'
  showtable (<"0 i. 12 12)[showtable (12 12 $ <'AB')
  A =: i. 4 4
  B =: 3 3 $ <'ASD'
  showtable A[showtable B