zoukankan      html  css  js  c++  java
  • jquery.treetable.js

    html:
     
    <table class="table table-hover table-responsive main-list" id="columntable">
        <tr>
            <th class="">教材名称/章名称/节名称/单元名称/知识点名称</th>
            <th class="text-center">重点、常考</th>
            <th class="text-center">难点</th>
            <th class="text-center">基础</th>
            <th class="text-right">
                <a href="">导出</a>
                基础</th>
        </tr>
        <tr ng-repeat="item in treeLists" data-tt-id="{{item.id}}" data-tt-parent-id="{{item.parentid}}" on-finish-render-filters>
            <td class="">
                {{item.name}}
            </td>
            <td class="text-center">{{item.emphasis}}</td>
            <td class="text-center">{{item.difficulty}}</td>
            <td class="text-center">{{item.basis}}</td>
            <td class="text-right"><a ui-sref="node-weight-info">查看</a></td>
        </tr>
    </table>
     
    data-tt-id="{{item.id}}" data-tt-parent-id="{{item.parentid}}"     得加上
     
    js
    $('#columntable').treetable({expandable:false},true);
    

      

     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
  • 相关阅读:
    hdu 4403 枚举
    hdu 4405概率dp
    lightoj 1036 dp
    lightoj 1033 区间dp
    lightoj 1032 二进制的dp
    hdu 4293 dp求最大权值不重合区间
    poj 2449 第k短路
    hdu 4284 状态压缩
    hdu4281 区间dp
    poj 2288 tsp经典问题
  • 原文地址:https://www.cnblogs.com/lhy-93/p/5741598.html
Copyright © 2011-2022 走看看