russ packer wrote: > I would like to implement two editable grids, each on one tab of a tab > control. So far I can get the two grids to display but they do not > respond to the mouse ie can't scroll them and they can't be editted. > > I have three scripts: > - Two 'grid' scripts which are based on example 1 of grid_class.htm. > Each loads into separate locale (loc1 and loc2)
For an example of grids in a tabbed dialog, see example 3 on page http://www.jsoftware.com/jwiki/Grid/Class . Note that the grid parent id (gridpid) is the id of the tab form, not the main form. Also, creating separate locales for each grid is a major complication. Events are signalled in the main form locale, while the grid handlers get defined in the tab locales. You would have to to ensure the grid handlers are called correctly. It is much easier to define all forms in one locale, and use different names to distinguish the grids. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
