Jump to content
Changes to the Jaspersoft community edition download ×

[Resolved] Table Component: Merge cell


danielsb2

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

 Thanks for the reply Giulio!,

I did not understand how to do what you say, but I tried and failed.
The table must be created that looks like this attached.
Could you send me a sample table with the merged cell that format?

 

/uploads/projects/ireport/table.PNG



Post Edited by danielsb2 at 05/20/2010 14:39
Link to comment
Share on other sites

  • 2 weeks later...
I believe it is not possible to merge the cell. As it Giulio said, I could not do.
 
I will report to be added in next version somethins like a "footer" to the table.
 

 

=========================================
Site:  http://www.danielsousa.com.br
Twitter:  @danielsbarros



Post Edited by danielsb2 at 10/06/2010 14:35
Link to comment
Share on other sites

Hi,

merging cells is actually possible. But in my case the text within a field that is nested inside of a nested cell doesn't appear in the generated report. I posted it yesterday (topic ID #75431) and included the code for the table component.

However if you want to recreate the table you pointed out in iReport, try these steps:

  1. Create a Table with (in your case) 7 columns.
  2. For the szenario that you want to have the merging column in the column footer, select the columns two to seven in this footer (Report Inspector tree) and choose "Group selected columns" in the context menu. This creates a new element called "Group Header", that spans the formerly selected colums.
  3. This new element doesn't contain a cell yet, so you choose "Add cell" in the context menu of this element. Now you're able to drop a text field in this cell.

Hopefully, this does the trick for you.

Link to comment
Share on other sites

  • 1 month later...

Can you please post the steps how to create a table. (I mean bond a table to the query)

I created a table with 21 columns the row should denymicly from query. Example, if the query only has two records, the table will be two rows. If the query returns 5 records, the rows are 5.

I put the 21 columns information to the table from my main report and the table itself, both showed the null values in the table.

I put the query returned values at the sumary section of the main report, the values showed fine.

Can you tell me what's wrong?

Thanks.

Lin

Link to comment
Share on other sites

  • 8 months later...
  • 2 years later...

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...