無聊人士

          搬家==》www.soapui.cn

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


          選中table的detail行,切換到script標(biāo)簽,在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。。)
          主站蜘蛛池模板: 石首市| 铜鼓县| 云南省| 宜宾县| 红安县| 三门峡市| 古交市| 日土县| 醴陵市| 萝北县| 朝阳市| 哈尔滨市| 祥云县| 弥勒县| 抚州市| 屏东县| 增城市| 抚顺市| 蕉岭县| 阿克苏市| 阿坝县| 寿阳县| 秭归县| 尼玛县| 武川县| 原阳县| 西安市| 板桥市| 宝山区| 晋江市| 黔西县| 寻甸| 宝坻区| 陵川县| 元氏县| 凯里市| 灵宝市| 图们市| 徐汇区| 旬阳县| 曲阜市|