EastWind2017 2017-06-22 07:05 采纳率: 0%
浏览 5301

easyui的div中设置display:none没有作用

 在做项目时遇到一个easyui需要根据combobox的选中的item决定div的隐藏及可见的问题
这个div是在easyui的tabs中的,代码如下
  <div id="statisticTab" data-options="region:'center',split:true,title:'成本统计',collapsible:false" data-options="closable:true" style="overflow: auto; display: none;">
            <div class="easyui-layout" data-options="region:'center',split:true" style="width: 78%; height: 100%; border: 0px;" fit="true" style="border: 0px;">
                <div id="treediv" data-options="region:'west',split:true,hide:true" style="width: 20%; border: 0px;">
                    <table id="statistics" data-options="region:'west'" 
                        style="width: 100%; height: 100%;">
                        <thead>
                            <tr>
                                <th field="ID" width="10" hidden="true">ID</th>
                                <th field="Name" width="98%" editor="text">名称</th>
                                <th field="ParentID" width="10" hidden="true"></th>
                            </tr>
                        </thead>
                    </table>
                </div>

</div>
</div>



  • 写回答

3条回答 默认 最新

  • chenjiexixi 2017-06-22 07:15
    关注

    请问,你贴的代码谁能看懂

    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办