当前位置: 代码迷 >> Web前端 >> jquery报表插件
  详细解决方案

jquery报表插件

热度:302   发布时间:2012-10-31 14:37:31.0
jquery表格插件
Jquery Collapser
用于扩展和折叠元件的多功能用途的插件

http://www.aakashweb.com/resources/pages/demos/jquery-collapser/

<script src="/resources/js/jquery.js" type="text/javascript"></script>
<script src="/resources/js/jquery.ui.js" type="text/javascript"></script>
<script src="/resources/js/jquery.collapser.js" type="text/javascript"></script>





jExpand
超轻量级的jQuery插件,用于表格扩展。通过jExpand,表格可容纳图片、列表、图表和其他更多元素信息。
http://www.jankoatwarpspeed.com/examples/expandable-rows/

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"
 type="text/javascript"></script>
    <script type="text/javascript">  
        $(document).ready(function(){
            $("#report tr:odd").addClass("odd");
            $("#report tr:not(.odd)").hide();
            $("#report tr:first-child").show();
            
            $("#report tr.odd").click(function(){
                $(this).next("tr").toggle();
                $(this).find(".arrow").toggleClass("up");
            });
            //$("#report").jExpand();
        });
    </script>    




  相关解决方案