[Project_owners] Overlay to add column to grid?

Pete Collins pete at mozdev.org
Tue Sep 9 10:38:00 EDT 2003


Erwin Wessels wrote:
> Hi,
> 
> Does anybody know how to add a column to a grid in an overlay? 

Being in an overlay doesn't matter, once the overlay is loaded and 
inserted into the doc, it is all part of the same DOM tree.


> I tried 
> the straight forward ways (insertafter and position) but it doesn't seem 
> to work. Any clues?

You should be able to use createElement and then insertBefore or 
insertAfter.

Maybe these docs can help:

 
http://books.mozdev.org/html/mozilla-chp-5-sect-2.html#mozilla-CHP-5-SECT-2.3.5

--pete

-- 
Pete Collins
www.mozdev.org
www.mozdevgroup.com




More information about the Project_owners mailing list