Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Birt - Insert Dynamic text box with script(Birt Scripting)
Birt - Insert Dynamic text box with script [message #1834341] Sun, 08 November 2020 08:21 Go to next message
gale weinstein is currently offline gale weinsteinFriend
Messages: 10
Registered: October 2020
Junior Member
I want to insert dynamic text box to a cell in table via script. I searched in documentation and SO but all I found was how to insert text to dynamic text but not the dynamic text box itself.

Is that possible, and how?
Re: Birt - Insert Dynamic text box with script [message #1834432 is a reply to message #1834341] Tue, 10 November 2020 09:59 Go to previous messageGo to next message
gale weinstein is currently offline gale weinsteinFriend
Messages: 10
Registered: October 2020
Junior Member
I want to add the dynamic text from the cell's script
Re: Birt - Insert Dynamic text box with script [message #1834435 is a reply to message #1834432] Tue, 10 November 2020 10:41 Go to previous message
gale weinstein is currently offline gale weinsteinFriend
Messages: 10
Registered: October 2020
Junior Member
in this script i would like to add it

initialize:
var firstC = ["AUD","ZAR"];
var secondC= ["AUD","BRL","CAD","USD"];


function colorG(item, col, row){

var currency = firstC[col] + "-"+ secondC[row];
if(verifyCurrency(currency)==true)

**HERE I WANT TO INSERT DYNAMIC TEXT AND INITIALIZE WITH VALUES**
}

function verifyCurrency(currency)
{

if(this.getRowData().getExpressionValue("row[digital]").indexOf(currency)!=-1)
return true;
else return false;
}
cell:

colorG(this,1,0);
Previous Topic:BIRT 2.1.2 and MAXIMO 7.1.4 : org.xml.sax.SAXParseException: Premature end of file.
Next Topic:Calculating percentage in data cube
Goto Forum:
  


Current Time: Thu Apr 18 19:42:49 GMT 2024

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

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

Back to the top