Project: Birt
Bug 223296 Script setting caption, summary does not work for grid, table and crosstab [0802]
Reported: 2008-03-19 23:57:17 | Status: closed fixed

Description: Script works for table does not work for grid. Build number: 2.3.0.v20080320-0800 Steps to reproduce: 1. New a report with a grid and a table. 2. Select the grid and table, input scripts: this.summary="Summary"; this.caption=this.summary 3. Preview. Expected result: The caption of the grid and table are both "Summary". Actual result: The scripts only works for table. Error log: N/A

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IActionInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IGridInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/ITableInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/TableContent.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ActionInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/GridInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/TableInstance.java