Hi Thanks All,

Actually I do not want to change my h:dataTable now.

I want to keep h:dataTable(which displaying second row header).
So is it possible with normal html table.Since I tried with it but its not
accepting colspan for normal html.
Any code sample will be great help for me.

Thanks
Sandip



Ryan Wynn-2 wrote:
> 
> t:dataList allows you more fine grained control over the display.
> 
> On 6/5/07, ncheltsov <[EMAIL PROTECTED]> wrote:
>> I am not sure, that I fully understand your question, but I think, that
>> h:dataTable element is not intended
>> for such use. You can display with it some tabular information, set
>> header and footer and apply some visual cosmetic.
>> That's all. Consider using other  component.
>>
>> P.S. Of course  I can be wrong. I will be glad someone to correct me :)
>>
>> sandipp wrote:
>> > Hi All,
>> >
>> > I want to design datatTable as,
>> >
>> >
>> -----------------------------------------------------------------------------------
>> > Edit |               Personal Information        | Account Information
>> |
>> >
>> -----------------------------------------------------------------------------------
>> > edit | first name | middle name |last name | bank name | a/c no |
>> >
>> -----------------------------------------------------------------------------------
>> >
>> > I am able to get second row by follwoing code as.
>> >
>> > <h:dataTable width="100%" border="0" headerClass="firstRow"
>> > rowClasses="row1,row2" value="SomeValue">
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="edit" />
>> > </f:facet>
>> > </h:column>
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="first name" />
>> > </f:facet>
>> > </h:column>
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="middle name" />
>> > </f:facet>
>> > </h:column>
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="last name" />
>> > </f:facet>
>> > </h:column>
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="bank name" />
>> > </f:facet>
>> > </h:column>
>> > <h:column>
>> > <f:facet name="header">
>> > <h:outputText id="editHeader" value="a/c no" />
>> > </f:facet>
>> > </h:column>
>> > </h:dataTable>
>> >
>> > But I am not able to set first row.
>> > i.e. I want Edit from first row will fit for edit for second row
>> > lly, Personal Information will fit for first name,middle name,last name
>> > and Account Information will fit for bank name a/c no
>> >
>> > Can anybody tell me how to do this ?
>> >
>> > Thanks
>> > Sandip
>> >
>> >
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/designing-h%3AdataTable-tf3871240.html#a10981867
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to