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)
Set Column Width for Grid
PraveenRaj
Hi...
I have created Grid using BIRT API with 3 cols and 3 rows.
GridHandle headerGrid = elementFactory.newGridItem( null, 3 /* cols */, 3 /* row */ );
I want to set withs for each of the column.
Anybody know how to do it?
Thanks
Praveen
Find more posts tagged with
Comments
JasonW
Praveen,
Once you have the grid handle use code like this:
grid.setWidth("100%");
ColumnHandle ch = (ColumnHandle)grid.getColumns().get(0); //first column
ch.setProperty("width", "3in");
Jason