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 19:10 Go to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
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 19:34 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
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 17:02 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1546
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: Thu Jul 24 21:54:32 EDT 2014

Powered by FUDForum. Page generated in 0.02237 seconds