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)
How to Hide/Show table's colomns using script?
jullrun
For example.
i have a table like this.
colomn1 colomn2 colomn3 colomn4
1 2 3 4
5 6 7 8
how can i use the script to hide the colomn "colomn3",after this ,we can see the table on the page like this
colomn1 colomn2 colomn4
1 2 4
5 6 8
now i add these Statement beforeFactory.
----
importPackage( Packages.org.eclipse.birt.report.model.api );
reportDesignHandle = reportContext.getReportRunnable().designHandle.getDesignHandle();
table = reportDesignHandle.getBody( ).get(0);
---
now I've got the table.but how can I hide one column ?
thanks!
Find more posts tagged with
Comments
mwilliams
Hi jullrun,
How do you know when you'll be hiding a column? Is it based off of a parameter?