Is the detail row always hidden by default?  Is there a way to make the
default displayed?

Thanks, - Dave


Jakob Korherr wrote:
> 
> Hi,
> 
> Here you can see a running example of this feature with source code:
> http://example.irian.at/example-simple-2010012802/masterDetail.jsf
> 
> Regards,
> Jakob
> 
> 2010/1/28 laredotornado <[email protected]>
> 
>>
>> Hi,
>>
>> I'm trying your suggestion but nothing is rendering.  I have this ...
>>
>>                        <f:facet name="detailStamp">
>>                                <t:outputText value="test test test">
>>                                </t:outputText>
>>                        </f:facet>
>>
>> and here is this code in the context of my dataTable ...
>>
>>
>>          <t:dataTable id="tamperingTable" rowClasses="even,odd"
>>                       value="#{TamperingReportController.tamperingModel}"
>>                       var="currentRow" rows="25"
>> styleClass="table-reportsDisplay marginTop1_5em">
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="Driver Name"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.name}">
>>              </t:outputText>
>>            </t:column>
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="Date"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.transactionDate}">
>>                <f:convertDateTime pattern="MM/dd/yyyy"
>> timeZone="America/Denver" />
>>              </t:outputText>
>>            </t:column>
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="Transaction Type"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.transactionType}">
>>              </t:outputText>
>>            </t:column>
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="Vendor ID"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.vendorId}">
>>              </t:outputText>
>>            </t:column>
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="Sub-Vendor"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.subVendorName}">
>>              </t:outputText>
>>            </t:column>
>>            <t:column>
>>              <f:facet name="header">
>>                <t:outputText value="User"/>
>>              </f:facet>
>>              <t:outputText value="#{currentRow.subVendorUsername}">
>>              </t:outputText>
>>            </t:column>
>>            <f:facet name="detailStamp">
>>                                <t:outputText value="test test test">
>>                                </t:outputText>
>>                        </f:facet>
>>          </t:dataTable>
>>
>>
>> Thanks for any further advice, - Dave
>>
>>
>>
>>
>> Vinaya Tirikkovalluru wrote:
>> >
>> > Yes,
>> > It is possible.
>> >
>> > After the all the columns </t:column>, use the facet
>> >
>> > <f:facet name="detailStamp">
>> >  <t:panelGrid id="soMpn1" columns="1" width="100%">
>> >    test
>> > </t:panelGrid>
>> > <hr />
>> > </t:panelGrid>
>> > </f:facet>
>> >
>> > Vinaya
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: laredotornado [mailto:[email protected]]
>> > Sent: Thursday, January 28, 2010 3:55 PM
>> > To: [email protected]
>> > Subject: Is it possible to do this with dataTables?
>> >
>> >
>> > Hi,
>> >
>> > We're using Tomahawk 1.1.6 with MyFaces 1.1.5.  We want to use a
>> > t:dataTable
>> > to display our data, but there is one fly in the ointment.  We have 5
>> > columns of data, but after each row of data, we wish to display another
>> > row
>> > that spans the five columns.  Is it possible to do this with JSF's
>> > dataTable, and if so, how?
>> >
>> > Thanks, - Dave
>> >
>> > --
>> > View this message in context:
>> >
>> http://old.nabble.com/Is-it-possible-to-do-this-with-dataTables--tp27360
>> > 096p27360096.html
>> > Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> >
>> >
>> >
>> > This electronic message is intended only for the use of the
>> individual(s)
>> > or entity(ies) named above and may contain information which is
>> privileged
>> > and/or confidential.  If you are not the intended recipient, be aware
>> that
>> > any disclosure, copying, distribution, dissemination or use of the
>> > contents of this message is prohibited.  If you received this message
>> in
>> > error, please notify the sender immediately.
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Is-it-possible-to-do-this-with-dataTables--tp27360096p27363692.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Is-it-possible-to-do-this-with-dataTables--tp27360096p27364526.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to