You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Chris Chiappone <ch...@gmail.com> on 2005/10/10 22:36:32 UTC

Contrib table columns

Is there an easy way to not include columns in contrib table if I have
a conditional or do I have to create a whole new table for this?

--
~chris

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Contrib table columns

Posted by Robin Johnson <ro...@syndicom.com>.
There are a number of ways to do this- I did it using a 
SimpleTableColumnModel which is populated with ExpressionTableColumns on 
the fly based on a parameter passed into the parent component.  In turn, 
the column model can then be passed into the TableView component alone 
or as part of a TableModel.

Robin

Chris Chiappone wrote:

>Is there an easy way to not include columns in contrib table if I have
>a conditional or do I have to create a whole new table for this?
>
>--
>~chris
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>