Can i hide table column border ?

Hi, I have a report with a similar problem I can generate a table like the one below from sql script the only problem that i have is that i dont know how to make the Total part one with the Name a.k.a colspan. Its in my detail part and using column footer won't help me . I'm getting Total by using if else : $F{Row}.intValue() == 10000?" Total  " : $F{Row} . In short how can hide table column border only for id = 10000?

Row Name Monday thursday  wednesday
1 John 54 54 25
2 Mike 45 35 45
Total   99 89 70
1 Peter 35 57 63
2 Harry 24 28 35
Total   59 85 98

 

 

ahmy_1's picture
199
Joined: Jun 9 2016 - 12:40am
Last seen: 3 years 5 months ago

2 Answers:

I assume you have a style for the table.

In jaspersoft studio ,on the outline, select a style right click and create a conditional style and set your conditional expresion for the style to be used.

 

peter.w's picture
1497
Joined: Oct 12 2012 - 6:57am
Last seen: 1 week 5 days ago

Yeah .. but I'm using jasper ireport designer. I don't know if the studio is the same?

 

ahmy_1's picture
199
Joined: Jun 9 2016 - 12:40am
Last seen: 3 years 5 months ago
Feedback