2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Sumedh - stamhane Group by a column? 2004-07-11 03:01 Hi all, How do I group by a certain column if I'm using a JRTableModelDatasource? Can I set something on the <reportElement> in XML? Right now I've written a custom DS to do this, but I was wondering whether an easier way exists. Thanks, Sumedh By: supportsib - supportsib RE: Group by a column? 2004-07-11 03:37 Check this link http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html By: Chuck Deal - cdeal RE: Group by a column? 2004-07-12 05:10 In order to group in JasperReports, you need to use an appropriately sorted DataSource. Once you have sorted your DS, then you can use the <Group> tags effectively. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now