I'm new in BIRT using and i would like to ask you ,Where should i write this text ?
@azhar3001 said: nevermind, I have a solution about that just use the text only.. if(row["B_CONTENT"] == null) {"";}else{ " row["B_CONTENT"] if(row["B_CONTENT"] == null ) {"";}else{"' height='120' width='100' />"}
I am not familiar with this example, but the tags typically are entered in a Text element. Add a Text element from the Palette to a table cell, change its type to "HTML" in the editor, and enter the code. The JavaScript will run as normal and the data (i.e. row["B_CONTENT"]) will automatically be filled in with the data value for the column specified for each row that is generated.