Jump to content
  • RelativeToTallestObject not realtive


    maloups
    Assigned User teodord
    CategoryBug report
    PriorityImmediate
    ReproducibilityAlways
    ResolutionFixed
    SeverityBlock
    StatusClosed

    Hi,

     

    I have many textfiel on the same line in my report...

    Each of them with the property "RelativeToTallestObject"

    The problem is if one of my textfiel is on many pages, the borders of the others textfiels only appears on the first page...

     

    Solution for that borders are relatives to the biggest object ?

     

    regards.


    Attachments:

    User Feedback

    Recommended Comments

    Hi,

     

    We do not consider this a bug and we'll close it. Actually the text fields do stretch as indicated. But what you perceive as a problem is that when a page break occurs, only the long text fields reappear on the following page. The other would appear too, if you would set isPrintWhenDetailOverflows=true, but you probably don't want that as "aaa" would appear again.

     

    The only solution right now is to put a rectangle behind each text field, having the same kind of background and border as the text field.

    This rectangle should have isPrintWhenDetailOverflows=true.

     

    Normally, the rectangle will not appear as the text fields is on top of it, but in case the band overflows onto a new page and some of the text fields do not get rendered again, the rectangles will appear in their place, making the border appear intact.

     

    In the near future we are going to solve this by implementing true table components in JasperReports.

    Another solution would be to prevent the band from splitting using isSpintAllowed=false.

     

    I hope this helps.

    Teodor

     

    Link to comment
    Share on other sites



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...