If in grid handler, another grid is called,
the calling grid loses gl2 context.
I don't think it should assume that the
context will remain.

Currently the workaround is to explicitly
set the context back.

grid1_gridhandler=: 3 : 0
  select. y
   case. 'mark' do.
     CURLOC=: CELLDATA__grid1 {~ <CELLMARK__grid1
     update ''            NB. calls grid2 verbs
                          NB. gl2 context lost
     glsel_jgl2_ 'grid1'  NB. workaround
  end.
)



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to