[Project_owners] Overlay to add column to grid?

Erwin Wessels erwin at transpontine.com
Tue Sep 9 18:21:49 EDT 2003


Pete Collins <pete at mozdev.org> wrote:
> 
> > The problem is, I'm trying to do it in a xul file - not from JS. In my overlay xul file, I want to specify that this new column goes after the existing columns in the grid. For menu items, this would be straightforward - <menuitem id="foo" insertafter="bar">..</menuitem>, but for <column>, this doesn't seem to work.
> 
> 
> 
> Ah, ok. Did you try insertBefore just for giggles?
> 
> insertAfter and insertBefore should work for any xul element.
> 
> You might not be able to see a newly added column w/out it's corresponding <row> element.
> 
> 
> --pete
> 
> -- 
> Pete Collins
> www.mozdev.org
> www.mozdevgroup.com
> 
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners

Yeah, I tried the insertBefore. Same deal, no giggles..

Without it's corresponding <row> element? It's in the same row?</confused>

-Erwin
-- 
This is a signature


More information about the Project_owners mailing list