Look at grid3.ijs and grid g3 in gridsall.ijs on
http://groups.google.com/group/j-programming/files

Also discussion topic grids in
http://groups.google.com/group/j-programming

2010/4/6, Donald Pittenger <[email protected]>:
> As best I see it, the CELLCOLORS assignment variable in grids seems
> row-oriented.  But...
>
> Here's what I'd like to do:
>
> Have a 3-column multi-row grid that initially has all backgrounds in
> one neutral color.  If the user clicks on a cell in the first column,
> the cell turns red.  In the second, column it would be orange or
> amber and in the right-hand column green -- a stoplight arrangement
> related to an application.
>
> How can CELLCOLORS be structured to yield such an arrangement?
>
> Also, where and how might CELLCOLOR related to this?  Is it needed?
> Is the indexing Boolean or otherwise?
>
> This is not clear (to me, at least) from either the Wiki or the lab.
>
> Thank you,
>
> Donald Pittenger
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
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