[Project_owners] Overlay to add column to grid?

David Fraser davidf at sjsoft.com
Tue Sep 9 20:01:58 EDT 2003


Erwin Wessels wrote:

> 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

The question is, are the rows or columns seen as top-level? It may be 
the rows are in the columns rather than the other way round
David
BTW, Which file are you trying to add it to?



More information about the Project_owners mailing list