I am trying to get the headers to appear on top of each column of the grid

The next line
(1;HAUSARDCM) grid GOGNDCM
gives me row headers but only the first column header

0 grid GOGNDCM
1 grid GOGNDCM
'A' grid GOGNDCM
(1;'AHA') grid GOGNDCM
(1;HAUSARDCM) grid GOGNDCM


The next line
(DALKUR0DCM;HAUSARDCM) grid GOGNDCM
gives me row headers but only the first column header

The next line gives me correct row headers and AA AB .... for columns
(DALKUR0DCM;'A') grid GOGNDCM
It is close to what I want

How do I get MY column headers to appear?


2007/3/20, Oleg Kobchenko <[EMAIL PROTECTED]>:

OK. Grid id and object name just need to be
given the same name.


NB. =========================================================
require 'jzgrid'
cocurrent 'myform'

CELLDATA=: *./~i.20

GDEMO=: 0 : 0
pc gdemo;
xywh 0 0 200 100;cc gridx isigraph rightmove bottommove;
pas 0 0;
rem form end;
)

gdemo_run=: 3 : 0
  wd GDEMO
  GRIDID=: 'gridx'
  gridx=: '' conew 'jzgrid'
  GRIDID__gridx=: 'gridx'
  show__gridx 'celldata gridid'
  wd 'pshow'
)

create=: gdemo_run

destroy=: 3 : 0
  destroy__gridx''
  wd 'pclose'
  codestroy''
)

gdemo_close=: destroy
create''



--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:

> This is example verbatim from Grid documentation.
>
> The default grid id is changed to 'gridx'--this required.
>
> It gave error message
> |domain error: wd
> |   GRIDHWNDC=:    wd'qhwndc ',GRIDID
>
> Next, GRIDID__grid=: was added. As a result,
> the grid is unresponsive.
>
> I believe it would be good to provide an example
> that does not rely on default "grid" id.





____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm




--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to