You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by an...@magnasteyr.com on 2005/11/04 09:23:00 UTC
Draw dynamical columns in Datatable
Is there a possibility to tell JSF dynamically how much columns in a Datatable it should draw.
I have a little Database Administration page, where the user can add new datasets to different tables. Now I have to draw several empty inputtext boxes for entering data, depending on how much columns each table has.
Is there a way to do that?
Thx!
Regards
Andy
______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
______________________________________________________________________
Re: Draw dynamical columns in Datatable
Posted by Mathias Brökelmann <mb...@googlemail.com>.
use <t:columns> inside your <t:datatable> take a look at the examples
and the doc at http://wiki.apache.org/myfaces/Dynamic_Columns or
http://myfaces.apache.org/tomahawk/columns.html
2005/11/4, andreas.mitter@magnasteyr.com <an...@magnasteyr.com>:
>
>
> Is there a possibility to tell JSF dynamically how much columns in a
> Datatable it should draw.
>
> I have a little Database Administration page, where the user can add new
> datasets to different tables. Now I have to draw several empty inputtext
> boxes for entering data, depending on how much columns each table has.
>
> Is there a way to do that?
>
> Thx!
>
> Regards
> Andy
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify your system manager.
> This footnote also confirms that this email message has been swept for the
> presence of computer viruses.
> ______________________________________________________________________
>
--
Mathias