tyvain Posted August 14, 2018 Share Posted August 14, 2018 Hi,First I am new to jasper, so maybe the question is trivial, but I don't find solution on the internet. I have this kind of data:idgroupidgroupLabelvalue10SOME LABELhello20SOME LABELhow31ANOTHER LABELare41ANOTHER LABELyou But I would like to regroup groupLabel by groupId to have this display:idgroupidgroupLabelvalue10SOME LABELhello20how31ANOTHER LABELare41you I don't find the solution to this problem. Link to comment Share on other sites More sharing options...
riodavid Posted August 14, 2018 Share Posted August 14, 2018 I don't think it's possible to implement the exact layout you did. Once I asked a Tibco consultant he did not know it too.The closest possible layout is like this: https://postimg.cc/image/ow4d47jkx/Of course, you can remove the borders in each group to make it look better.To implement this, first sort your data on the grouping column (I did this in Dataset and Query -> Sorting) then check Textfield property -> Print Repeated Values -> Uncheck Link to comment Share on other sites More sharing options...
tyvain Posted August 14, 2018 Author Share Posted August 14, 2018 Hi riodavid,I mange to do it as you said. But this 'unsued' space is a waste.In my case, the merged cell is a big text, so its looks like this (it's ugly...): idgroupidgroupLabelvalue10Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum hello20how31Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum are41you The perfect solution would be to use this empty space... Link to comment Share on other sites More sharing options...
riodavid Posted August 14, 2018 Share Posted August 14, 2018 Sorry, as I said, this is the closest solution I know. As well as a Tibco consultant suggested. 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