momo1210245571 2015-08-12 07:17 采纳率: 18.5%
浏览 648

dorado 7 请各位大神帮帮看看这个怎么修改

图片说明

 <Control type="DataTable" showIndicator="false" highlightSelection="false" showHScrollBar="false" showFooter="false" dataset="dsEvecHotelAndMeal" showHeader="true" showFilterBar="false" showVScrollBar="false" height="100%" id="tableDsEvecHotelAndMeal" width="100%" readOnly="true" dynaRowHeight="true">
      <Column field="content" sortable="false" headerClickable="true" align="left" name="content">
        <Events>
          <Event name="onRefresh">if(record.getValue(&quot;content&quot;)==&quot;Total&quot;){
  row.style.fontWeight=&quot;bold&quot;;    
}else{
  row.style.fontWeight=&quot;&quot;;    
}
cell.innerHTML = value;
return false;</Event>
        </Events>
      </Column>
      <Column field="expTypeName" sortable="false" headerClickable="true" width="100" align="left" name="expTypeName"/>
      <Column field="currencyType" sortable="false" headerClickable="true" align="left" name="currencyType"/>
      <Column field="expPrice" sortable="false" headerClickable="true" align="right" name="expPrice"/>
      <Column field="rmbPrice" sortable="false" headerClickable="true" align="right" name="rmbPrice"/>
      <Column field="act_expPrice" sortable="false" headerClickable="true" align="right" name="act_expPrice"/>
      <Column field="act_rmbPrice" sortable="false" headerClickable="true" align="right" name="act_rmbPrice"/>
      <Column field="exp_standard" align="right" name="exp_standard"/>
      <!--'CR201503010 20150701   -->
       <Column field="breakfast"  sortable="false" headerClickable="true" align="left" name="breakfast" width="100"/>
       <!-- 'CR201503010 20150717  -->
      <Column field="memo" sortable="false" editorType="textarea" headerClickable="true" noWrap="false" width="380" name="memo">

        <Events>
          <Event name="onRefresh">cell.innerHTML = &quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;+value;
return false;</Event>
        </Events>
      </Column>
    </Control>

第四行 将数据库读取出来的第二行信息 显示出来 但是却将第一行的记录赋值上去了 请各位大神帮帮忙 这个代码怎么修改 才能得到 第四行 的信息 显示的是第二行从数据库读取出来的

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 #MATLAB仿真#车辆换道路径规划
    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
    • ¥15 数据可视化Python
    • ¥15 要给毕业设计添加扫码登录的功能!!有偿
    • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
    • ¥15 微信公众号自制会员卡没有收款渠道啊
    • ¥100 Jenkins自动化部署—悬赏100元
    • ¥15 关于#python#的问题:求帮写python代码
    • ¥20 MATLAB画图图形出现上下震荡的线条
    • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘