javajasper-reportsdynamic-jasper

DynamicReport title band


i need to adjust the title band width to table width. Anyone knows how to do that?

Im using this code

private FastReportBuilder modrb;

            modrb.setTitle(getTitulo());
            modrb.setSubtitle(getSubTitulo());

And...

    DynamicReport dr = modrb.build();
    dr.setAllowDetailSplit(false);
    dr.getOptions().setUseFullPageWidth(true);
    dr.getOptions().setRightMargin(0);

Solution

  • I fixed it setting the width of Page item, i took all columns width and then set the page size to all columns+100 px , it works fine now