Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
table/cell border
BIRTz
Hi,
I have a sample report which is similar to one of the solutions provided within the forum.
I want my report to look like the one in the jpg file attached.
I want the line to show just above 'Germany' and at the end of that column (I have drawn a red line at the positions - though it's not very clear).
And those lines in green, I don't want them to be there.
So, they are the lines just below 'Nantes', 'Paris' (the 2 lines below Paris) and the line below 'Frankfurt'.
Find more posts tagged with
Comments
mwilliams
Hi BIRTz,
Put the following script in the onCreate script of the cell that contains the Country data item:
if (showCountry == 0){
this.getStyle().borderTopColor = "Black";
this.getStyle().borderTopStyle = "Solid";
this.getStyle().borderTopWidth = "Thin";
}
Then, put the following in the onCreate script of the cell that contains the City data item:
if (showCity == 0){
this.getStyle().borderTopStyle = "Solid";
this.getStyle().borderTopColor = "Black";
this.getStyle().borderTopWidth = "Thin";
}
Delete the border from the bottom of the city cell and add a border to the bottom of the table footer. This fixes the table border to look exactly how you're wanting. Let me know if you have any questions.
BIRTz
Hi Michael,
Thanks a lot!!!
Also I deleted the bottom border of the cell for both CustomerName and Phone. Because at the end of the table, there are 'duplicate lines'.
I then added in a border at the top of the two cells instead.
mwilliams
No problem. Always glad to help. Good luck!