Skip to main content



      Home
Home » Archived » BIRT » Table Column width
Table Column width [message #1019871] Sat, 16 March 2013 19:10 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
Thanks for updating the thread with your solution! Smile
Previous Topic:Problem with report creating on PBI form
Next Topic:Hover tooltip on a chart in BIRT
Goto Forum:
  


Current Time: Tue Apr 29 07:09:00 EDT 2025

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

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

Back to the top