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 change default padding?
mihu
I would like to use 0 as default padding for all cell in the table instead of 1.
Could anyone tell me how can I achieve that?
I am using BIRT 2.2.1
Find more posts tagged with
Comments
Virgil Dodson
Hi mihu,
Instead of changing the padding for each cell in the table, you can create a style using one of the predefined styles and change it only once for all tables in the report.
To do this, right-click on the report and select 'New Style...'
From the General tab, select table-detail-cell from the Predefined Styles drop-down. Then select 'Box' from the left and change the padding you want for each cell and press OK.
Now all the tables will have the same padding.
As an alternative, you can import, or use an external CSS file like below. Set this up in the Report Outline by right-clicking on styles.
.table-detail-cell {
padding-top : 0;
padding-right : 0;
padding-bottom : 0;
padding-left : 0;
}
In addition, if you find yourself creating the table on multiple reports, you should probably put the dataset and table styled like you prefer into a report library.
riman
Hi, vdodson.
I've tried to use your suggestion to reset paddings for Grid cells but with no luck.
There is a predefined style for grid, but it doesn't apply to cells inside a grid. Could you please help me here?
Thank you.