無聊人士

          搬家==》www.soapui.cn

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            32 隨筆 :: 0 文章 :: 60 評論 :: 0 Trackbacks


          選中table的detail行,切換到script標簽,在onPrepare事件中輸入
          ?
          count=1;

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

          或是直接打開xml source,在相應(yīng)的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 閱讀(1882) 評論(0)  編輯  收藏 所屬分類: Others報表(Birt、crystal。。)
          主站蜘蛛池模板: 水城县| 合肥市| 高碑店市| 栾川县| 海门市| 社旗县| 饶河县| 阿城市| 盘锦市| 丹东市| 武邑县| 皋兰县| 太康县| 双鸭山市| 阿勒泰市| 霞浦县| 无极县| 万宁市| 微山县| 察哈| 木兰县| 长顺县| 龙泉市| 秦安县| 江西省| 襄垣县| 永泰县| 定西市| 通州市| 四会市| 乌鲁木齐县| 思南县| 拉孜县| 黔东| 民和| 峨山| 宁河县| 万荣县| 阿克| 永城市| 永安市|