[ http://jira.codehaus.org/browse/DISPL-17?page=comments#action_41992 ]
Miguel RodrÃguez commented on DISPL-17: --------------------------------------- I have the same problem. This is my code: <display:table name="EMPRESAS" requestURI="/SacarListado.do" export="true" pagesize="10" class="tabla" id="empresa" defaultsort="5" > <display:column headerClass="sortable" title="Company Name" property="nombreComercial" sortable="true"/> <display:column headerClass="sortable" title="Bussiness Pot." property="potencialNegocio" sortable="true" /> <display:column sortable="true" title="Status" style="width: 5%;" property="estado" headerClass="sortable"/> <display:column sortable="true" title="Last Action" style="width: 11%;" property="fechaUltimaAccion" headerClass="sortable"/> <display:column sortable="true" title="Follow Up" style="width: 9%;" property="retrasoUltimaAccion" headerClass="sortable"/> <display:column sortable="true" title="Comment" style="width: 35%;" property="comentarioUltimaAccion" headerClass="sortable"/> <display:setProperty name="export.excel.filename" value="companyActions.xls"/> </display:table> </div> When I try to sort on any colum, the data is displayed with no sort (seems like ramdom sort) at all. any tips? thanks! > Sorting doesn't work correctly for columns with "headerClass" attribute > ----------------------------------------------------------------------- > > Key: DISPL-17 > URL: http://jira.codehaus.org/browse/DISPL-17 > Project: DisplayTag > Type: Bug > Components: Container Compability > Versions: 1.0 RC1 > Reporter: fabrizio giustina > Assignee: fabrizio giustina > Priority: Minor > Fix For: 1.0 RC2 > Attachments: displaytags_bug_files.zip > > > ==== > imported from sf tracker > id 1017130 > submitted by innanill > http://sourceforge.net/tracker/index.php?func=detail&group_id=73068&atid=536613&aid=1017130 > > ==== > Using displaytags 1 rc1, and Resin 2.1.11 and struts. > With the following, sorting does not work correctly: > <display:table id="row" class="display-tags-Data" > width="780" align="center" hspace=0 vspace=0 > name="sessionScope.application.qualifiedLoanOptionsSort > ed" defaultsort="2" defaultorder="ascending"> > <display:column align="center" > headerClass="DataHeader" class="edit-labels" > property="orderNum" title="Option ID" sortable="true" /> > <display:column align="center" > headerClass="DataHeader" class="edit-labels-3" > sortable="true" title="Product Name" > > <bean:write name="row" property="productName"/> > </display:column> > <display:column align="right" > headerClass="DataHeader" class="edit-labels" > sortable="true" title="Loan Amount" > > <bean:write name="row" property="loanAmount"/> > </display:column> > </display:table> > The two columns that have <bean:write> will sort > together. That is, if I click on the "Product Name" > header to sort, both the "Product Name" and "Loan > Amount" columns will appear sorted (arrow_up or down > as needed, and bright orange color). Any ideas? > Thanks! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel