JRFerreira Posted February 8, 2017 Share Posted February 8, 2017 Hi there,How can i remove the [ ] that appear on the fields when i'm generationg a report? Regards Link to comment Share on other sites More sharing options...
hozawa Posted February 8, 2017 Share Posted February 8, 2017 There shouldn't be any "[]" in generated reports. Check that it's not in the field values.Would have been better if you've attached a copy of your jrxml file so we'll be able to view it. Link to comment Share on other sites More sharing options...
JRFerreira Posted February 9, 2017 Author Share Posted February 9, 2017 Thanks.It seams that the data comes with the [] (i'm using elasticsearch as data adapter. I will use $F{field}.toString().replace("[","").replace("]","") to remove the [], 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