无聊人士

搬家==》www.soapui.cn

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  32 随笔 :: 0 文章 :: 60 评论 :: 0 Trackbacks


选中table的detail行,切换到script标签,在onPrepare事件中输入
 
count=1;

在onCreate事件中输入
1count++;
2this.getStyle().backgroundColor=(count%2==0?"red":"blue");

或是直接打开xml source,在相应的detail位置上修改源码为
                <detail>
                  
<row id="66">
                    .
                    
<method name="onPrepare"><![CDATA[count=1;]]></method>
                    
<method name="onCreate"><![CDATA[count++;this.getStyle().backgroundColor=(count%2==0?"red":"blue");]]></method>
                    ..

xxxxx.jpg

posted on 2006-11-24 01:04 mmwy 阅读(1845) 评论(0)  编辑  收藏 所属分类: Others报表(Birt、crystal。。)

只有注册用户登录后才能发表评论。


网站导航: