Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Table Row span problem
Table Row span problem [message #1016410] Wed, 06 March 2013 11:36 Go to next message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 146
Registered: February 2013
Senior Member
Hi all,
if in my table on onPrepare event, i set column span this code works ok, but if i set row span ... nothing happens:
importPackage( Packages.org.eclipse.birt.report.model.api );
elementFactory = reportContext.getDesignHandle().getElementFactory()
var mytable = reportContext.getDesignHandle().findElement("tableDetail");
var tDet= mytable.getDetail().get(0);
var aCellProcess= tDet.getCells().get(0);
aCellProcess.setColumnSpan(4); // work
//aCellProcesso.setRowSpan(4); doesn't work

What is wrong?
Re: Table Row span problem [message #1016879 is a reply to message #1016410] Fri, 08 March 2013 02:57 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You need to make sure you are putting the span on the top most cell and that you are moving any contents in the lower cells to the top row. Lastly you need to make sure you delete the unused or removed cells. See the attached example.

Jason
Re: Table Row span problem [message #1016942 is a reply to message #1016879] Fri, 08 March 2013 09:46 Go to previous message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 146
Registered: February 2013
Senior Member
Now i see.
Thanks for you help
Previous Topic:Text Rotation
Next Topic:Ellipsis support?
Goto Forum:
  


Current Time: Wed Dec 04 12:39:47 GMT 2024

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

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

Back to the top