Skip to main content



      Home
Home » Archived » BIRT » Table setColSpan
Table setColSpan [message #1010240] Sat, 16 February 2013 19:35 Go to next message
Eclipse UserFriend
Hi all,
i would set dinamically the colspan of my cell; i do it in a onprepare event ofa my table with a fixed value and it's work fine, but if i try to get the value from a persistentGlobalValue i receive an error becouse the value (that i take correctly in other place of my report) is null.I don't understand...can someone help me?
Thanks
Re: Table setColSpan [message #1010642 is a reply to message #1010240] Sun, 17 February 2013 18:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mimmo,

Can you post the code you are using to set the colspan in onprepare?

Thanks,
David
Re: Table setColSpan [message #1010933 is a reply to message #1010642] Mon, 18 February 2013 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,
the problem isn't code, in fact if i put a number work fine, but if i get a variable in my onprepare event of a table they return null, seems that the onprepare event of a table is called before onFetch of my query.
Is correct or not?
Re: Table setColSpan [message #1011049 is a reply to message #1010933] Mon, 18 February 2013 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Onprepare is called for all items before data sets are executed. See
http://www.eclipse.org/birt/phoenix/deploy/reportScripting.php for the order. I am attaching an example that shows how to set the column span in the beforeFactory and the onCreate. Look at the script node in the outline view to locate the scripts.

Jason
Re: Table setColSpan [message #1011822 is a reply to message #1011049] Wed, 20 February 2013 05:13 Go to previous message
Eclipse UserFriend
ok thanks
Previous Topic:Migration to Birt Runtime Engine 4.2.1 error
Next Topic:HowTo sum (accumulate) aggregate values in chart BIRT Eclipse
Goto Forum:
  


Current Time: Sun Mar 16 09:59:35 EDT 2025

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

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

Back to the top