I have a table that has 7 columns.  Want to group on the first column 
and if the grouping on the 2nd column matches I want to only display 
column's 6 and 7.  This works well except for when any data in the 
middle columns is duplicated then these middle columns do not get 
displayed (even when the first column is different).

For example, this is what I want it to look like:

1    a  b  c  d  e  f  g
2    h  i  j  k  l  m  n
     o  p  q  k  l  r  s

But what I end up with is:

1    a  b  c  d  e  f  g
2    h  i  j  k  l  m  n
     o  p  q        r  s


Here is my tag:

            <displaytag:table name="${sessionScope.RPT_DATA}" 
uid="reasonRptData" class="simple" 
decorator="app.inv.audt.rpt.displaytag.ReasonTableFinishRow">
                <displaytag:column title="Item #" 
property="pitInvAdj.podId" group="1"/>
                <displaytag:column title="Description" 
property="pitItDict.itLongNameTx" style="text-align:left;" group="1"/>
                <displaytag:column title="Size" 
property="pitItDict.itSizeCd" escapeXml="true" group="1"/>
                <displaytag:column title="Vendor" property="vendorName" 
style="text-align:left;" group="1"/>
                <displaytag:column title="SKU" 
property="pitStorIt.skuCd" group="1"/>
                <displaytag:column title="User" 
property="pitInvAdj.adjUserId"/>
                <displaytag:column title="Date-Time" 
property="pitInvAdj.formattedAdjDtTm"/>
                <displaytag:column title="Qty" property="pitInvAdj.adjQy"/>
            </displaytag:table>

Any idea how I can only hid data in columns 2-5 when column 1 is 
different and always show data in columns 2-5 when column 1 is a 
duplicate, regardless of the values in columns 2-5 from previous rows?  
I thought that if I gave all columns the group="1" then they would only 
show/hide based on the values of column 1 and NOT of their own column 
value displaying.

Thanks.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to