I think what you're looking for is the sortProperty attribute. Add it to the column tag and, no matter what's displayed in the column, it'll sort on the property specified in that attribute value. Not sure about grouping, but I think it should work off the sortProperty also.
Rick Herrick [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:displaytag- > [EMAIL PROTECTED] On Behalf Of Laura Vigna > Sent: Friday, August 04, 2006 12:42 AM > To: displaytag-user@lists.sourceforge.net > Subject: [displaytag-user] Grouping and sorting of columns without the > <display:column tag> - maybe a decorator? > > Hi, > thanks so much for the replies. BTW, the jsp doesn't work without this > code: <c:set var="table" value="${table}" scope="request"/> > because as you said there is nothing called "table" in the request > otherwise. Nothing found to display. > > I have another topic. On the above, same, old, d**n list of lists I have > a problem - what if I'd like to make a column sortable?! > I've got a decorator called myWrapper that is currently doing some trix > on column A (present in more than one table - in each table displays the > data in a different way) > but how to make this column sortable as I don't write explicitly on the > jsp the <display:column> tag? > Same question for grouping? > I guess I have to implement it manually by myself in the java code? > Thanks > > > > Laura > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user