Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Columns order in a XUL tree
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
guido  
View profile  
 More options May 25 2012, 8:42 am
Newsgroups: mozilla.dev.tech.xul
From: guido <guido.pare...@dots.de>
Date: Fri, 25 May 2012 14:42:48 +0200
Local: Fri, May 25 2012 8:42 am
Subject: Columns order in a XUL tree
Hello All,

I've a xul tree where some columns are defined into a .xul file and some
are dinamically created at run-time.

Once all the columns are added to the tree, I need to change their
displayed order.

I tried to modify the ordinal* attribute but I can't make it to work.

Which one would be best method to do it?

Many thanks in advance,
Guido.

(*) https://developer.mozilla.org/en/XUL/Attribute/ordinal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
guido  
View profile  
 More options May 25 2012, 8:46 am
Newsgroups: mozilla.dev.tech.xul
From: guido <guido.pare...@dots.de>
Date: Fri, 25 May 2012 14:46:37 +0200
Local: Fri, May 25 2012 8:46 am
Subject: Re: Columns order in a XUL tree
Forgot to say: I've also tried to use the DOM insertBefore() method but
also this way doesn't work (for some reason the column is added /after/
the reference column...)

On 25.05.2012 14:42, guido wrote:

--
Guido Parente
guido.pare...@dots.de

dots Software GmbH
Schlesische Straße 27, 10997 Berlin, Germany
Telefon: +49 - (0)30 - 695 799 - 30
www.dots-software.com

Amtsgericht Berlin Charlottenburg HRB 65201
Geschäftsführer: Olaf Lorenz, Ken Osuga


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
guido  
View profile  
 More options May 25 2012, 9:02 am
Newsgroups: mozilla.dev.tech.xul
From: guido <guido.pare...@dots.de>
Date: Fri, 25 May 2012 15:02:24 +0200
Local: Fri, May 25 2012 9:02 am
Subject: Re: Columns order in a XUL tree
(I apologize for the multiple mails)

I particularly don't understand why the children order of the <treecols>
is not reflected in the displayed order of the columns.

For example, I've this structure :

<treecols>
<treecol id=A/>
<treecol id=B/>
<treecol id=C/>
</treecols>

but the columns are then displayed in this order : C, A, B.

Why? What is that ultimately regulate this order and how can I change it?

Many thanks again.

On 25.05.2012 14:46, guido wrote:

--
Guido Parente
guido.pare...@dots.de

dots Software GmbH
Schlesische Straße 27, 10997 Berlin, Germany
Telefon: +49 - (0)30 - 695 799 - 30
www.dots-software.com

Amtsgericht Berlin Charlottenburg HRB 65201
Geschäftsführer: Olaf Lorenz, Ken Osuga


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil  
View profile  
 More options May 25 2012, 12:18 pm
Newsgroups: mozilla.dev.tech.xul
From: Neil <n...@parkwaycc.co.uk>
Date: Fri, 25 May 2012 17:18:19 +0100
Local: Fri, May 25 2012 12:18 pm
Subject: Re: Columns order in a XUL tree

guido wrote:
> I've a xul tree where some columns are defined into a .xul file and
> some are dinamically created at run-time.

> Once all the columns are added to the tree, I need to change their
> displayed order.

> I tried to modify the ordinal* attribute but I can't make it to work.

> Which one would be best method to do it?

The tree tries to maintain the order internally. In particular, the
column ordinals are all alternate odd numbers so that splitters can be
put in between if required. Alternatively I suppose you could try
calling the _reorderColumn function to move your dynamic column.

--
Warning: May contain traces of nuts.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »