Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Table Column width
Table Column width [message #1019871] Sat, 16 March 2013 23:10 Go to next message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 145
Registered: February 2013
Senior Member
Hi All,
there is a possibility to set at runtime the width of the first column of a table ?
Thanks
icon14.gif  Re: Table Column width [message #1019877 is a reply to message #1019871] Sat, 16 March 2013 23:34 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 145
Registered: February 2013
Senior Member
Mimmo Rossi wrote on Sat, 16 March 2013 19:10
Hi All,
there is a possibility to set at runtime the width of the first column of a table ?
Thanks


I solved in this way:
	importPackage( Packages.org.eclipse.birt.report.model.api );
	elementFactory = reportContext.getDesignHandle().getElementFactory()
	var mytable = reportContext.getDesignHandle().findElement("tableHeader");
	var col= mytable.getColumns( ).get( 0 )
	col.setProperty("width","10,25in");

Re: Table Column width [message #1020744 is a reply to message #1019877] Mon, 18 March 2013 21:02 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Thanks for updating the thread with your solution! Smile

Michael

Developer Evangelist, Silanis
Previous Topic:Problem with report creating on PBI form
Next Topic:Hover tooltip on a chart in BIRT
Goto Forum:
  


Current Time: Sat Aug 01 18:16:58 GMT 2015

Powered by FUDForum. Page generated in 0.01918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software