to achieve dynamic order of columns by switching them with rendered attrib you must write n^n columns (to provide all possible combinations)

x:columns is right approach.



cheers

Slawek

Hi,

You can switch on and off your columns by using the rendered attribute
of the column component.
You may also try to use the x:columns component of myfaces.

Mathias

-----Original Message-----
From: Claudio Tamietto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 4:14 PM
To: MyFaces Discussion
Subject: Re: dinamic order of rendering of columns in data table



for dynamic rendering i mean this :
I have a table A with columns 1,2,3,4,5

the user xx want to see the columns in  this order 3,1,5
ands the user yy want to see the columns in this order  2,3,4.

I don't want to have two jsp but only one where i can configure the
order of rendering of the colums.

----- Original Message -----
From: Jesse Alexander (KBSA  <mailto:[EMAIL PROTECTED]>
21)
To: MyFaces Discussion <mailto:[email protected]>
Sent: Tuesday, June 28, 2005 4:01 PM
Subject: RE: dinamic order of rendering of columns in data table

What do you mean by dynamic rendering?

Alexander
(che cosa vuoi fare?)



  _____

From: Claudio Tamietto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 3:57 PM
To: MyFaces Discussion
Subject: dinamic order of rendering of columns in data table


is it possibile rendering the columns of a table in a dinamic way  or i
have to create a new component and subclass it ?



Reply via email to