Hi Kuni,
What i meant was that whereever you have
<t:datatable ...>
<h:column>
<f:facet name="header"></f:facet>
</h:column>
...
....
</t:datatable>
<h:column>
<f:facet name="header"></f:facet>
</h:column>
...
....
</t:datatable>
in <t: datatable> , you will have an attribute columnClasses, you can just set that to columnClasses="col1, col2"
and in ur stylesheet, you can have
.col1{
width=x%
}
I have done the same where i needed to give my own table layout.
I just hope it helps you..
Regards,
Nimisha.
On 7/21/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
I think that maybe the trinidad table has colspan support (not sure
though, I haven't tried it yet)
-Andrew
On 7/21/06, Kuni <[EMAIL PROTECTED]> wrote:
> Hello Nimisha,
>
> thanks for your answer. using css to define the table-layout is a nice
> idea but it is in my case inapplicable. let me describe my problem:
>
> i have a single page with a
> <f:subview><:jsp:include page="<%= fileToIncludeRequestParameter
> %>"/></f:subview>
>
> component. including file contains a t:dataTable component. This is my
> way to load 'dynamic' datatables with a specific table-layout. the
> layout is basicly as shown below. The css proposal implies to much css
> defs..
>
> i cannot believe that there is now way to define a layout with <column>
> and <f:facet name="header"> tags
> like:
> <t:datatable ...>
> <h:column>
> <f:facet name="header"></f:facet>
> </h:column>
> ...
> ....
> </t:datatable>
>
>
> hopefully regards,
> Kuni
>
>
>
> <http://dict.leo.org/ende?lp=ende&p=j7Z..&search=inapplicable>
>
> nimisha sharma schrieb:
> > i am not sure on how much this would help you, but here goes my view:
> > If you want to use something for colspan, specify the width of the
> > columns in your .css file and just use those class names in the
> > columnClass attribute of datatable. That is how i could change the
> > width of my columns in a tree table..
> >
> > Regards,
> > Nimisha.
> >
> >
> > On 7/21/06, *Kuni* < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Hello,
> >
> > i'm try to create a table using t:dataTable with a multi column/row
> > table header. is it possible to create a 'complex' header with
> > colspan'
> > look a like to group the content? i'm going crazy .. no try really
> > works. i need something like that:
> >
> > | group haeder | group
> > haeder2 |
> > |header1 | header2| header3 |header21 | header22 header23 |
> > ------------------------------------------------------------
> > |content1| content2|content3 |content21| content22|content23 |
> >
> >
> > any ideas?
> > ...does anybody knows why this feature is not supported by JSF???
> >
> > thanks for help!!
> > Kuni
> >
> >
> >
> >
>
>

