titan115 Posted August 19, 2009 Share Posted August 19, 2009 Hi,everyone, In my project,I won't to show data as horizontal style at detail. Just like this: FieldName1 Field1Value1 Field1Value2 Field1Value3 Field1Value4 FieldName2 Field2Value1 Field2Value2 Field2Value3 Field2Value4 FieldName3 Field3Value1 Field3Value2 Field3Value3 Field3Value4 ................................. How can i implement this?Thanks! Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 21, 2009 Share Posted August 21, 2009 Hi, Not sure what you mean. Is the number of field values dynamic? Or is it always 4?Have you checked the /demo/samples/horizontal report sample in the JR project package?Maybe a crosstab would help. See the ones in /demo/samples/crosstabs. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
titan115 Posted August 21, 2009 Author Share Posted August 21, 2009 Hi, The number of field values is dynamic,not static. My datasource where come from a XML datasource,not from database directly.Post Edited by titan115 at 08/21/2009 13:37 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 21, 2009 Share Posted August 21, 2009 Hi, Currently, in Jasperreports, only crosstabs have the ability to stretch horizontally. So your best bet at this point is to use a dummy crosstab to display those values as crosstab cells.I don't have an example for you to follow, but you should start by understanding crosstabs first. Another solution would be to enhance the list component so that it fills horizontally. For this, feel free to log a feature request on our trackers. Thank you,Teodor Link to comment Share on other sites More sharing options...
titan115 Posted August 21, 2009 Author Share Posted August 21, 2009 Hi,I'll study crosstabs first to see if that's a solution for my project. Enhance the list component to fill horizontally definitely is also a good solution,it will be useful in medical industry.Because in this industry,there are many charts and data show details in horizontal style. Thank youtitan115Post Edited by titan115 at 08/21/2009 13:53 Link to comment Share on other sites More sharing options...
Joe Taras Posted February 20, 2014 Share Posted February 20, 2014 Hi, have you resolved with cross tab? I have the same issue and I must grouped by some information. Have you follow this way? Or have you found another? 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