Skip to main content



      Home
Home » Archived » BIRT » Table Row span problem
Table Row span problem [message #1016410] Wed, 06 March 2013 06:36 Go to next message
Eclipse UserFriend
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] Thu, 07 March 2013 21:57 Go to previous messageGo to next message
Eclipse UserFriend
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 04:46 Go to previous message
Eclipse UserFriend
Now i see.
Thanks for you help
Previous Topic:Text Rotation
Next Topic:Ellipsis support?
Goto Forum:
  


Current Time: Sun Apr 20 19:39:51 EDT 2025

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

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

Back to the top