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: 135
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: 135
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: 1687
Registered: July 2009
Senior Member

Thanks for updating the thread with your solution! Smile

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Problem with report creating on PBI form
Next Topic:Hover tooltip on a chart in BIRT
Goto Forum:
  


Current Time: Mon Dec 22 17:48:43 GMT 2014

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

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