birt 动态的参数问onPrepare;
this.getStyle().backgroundColor = "red";//This would change all row instances
onCreate:
if (this.getRowData().getExpressionValue(3) > 100)
this.getStyle().backgroundColor="red";//This will only change the row instance
For a table with 100 rows, onPrepare will be called once (to change the
design), and onCreate and onRender will be called 100 times (to change the
instance).
题