Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
How to add borders inside the birt table report
Migrateduser
<p>Dear all:</p><p>I am developing a birt tabular report and really want borders inside the detailed rows but don't know how to do it. I tried to add borders for the whole table using properties but the border only applies to outside of the table. If I select border for each cell then there's space between each cell. I did google it but found out the solution Jason suggested is set the properties as follows:</p><p>CellHandle cell = (CellHandle) tableheader.getCells( ).get( 0 );
cell.setProperty(StyleHandle.BORDER_BOTTOM_COLOR_PROP, "#000000");
cell.setProperty(StyleHandle.BORDER_BOTTOM_STYLE_PROP, "solid");
cell.setProperty(StyleHandle.BORDER_BOTTOM_WIDTH_PROP, "2px");</p><p> </p><p>I have no idea where and how to set the properties, can anyone give me some detailed guidances on that?</p><p>Thank you!</p><p>Maggie</p>
Find more posts tagged with
Comments
There are no comments yet