js树形table

时间:2015-12-26 10:01:34
【文件属性】:
文件名称:js树形table
文件大小:5KB
文件格式:JS
更新时间:2015-12-26 10:01:34
treetable 树形 js 使用代码: function init() { $.treetable.defaults = { id_col : 1,// ID td列 {从0开始} parent_col : 2,// 父ID td列 handle_col : 3,// 加上操作展开操作的 td列 open_img : "../images/minus.gif", close_img : "../images/plus.gif" }; $("#tbody").treetable(); // 隐藏数据列 $("#tbody tr").find("td:eq(1)").hide(); $("#tbody tr").find("td:eq(2)").hide(); $("#grid tr:eq(0)").find("th:eq(1)").hide(); $("#grid tr:eq(0)").find("th:eq(2)").hide(); }

网友评论

  • 可以用,还需要完善
  • 不错,可以用!
  • 可以用,还需要完善
  • 可以使用,但里面的图片没有显示,希望再完善一些
  • 用在一个表中是可以的,但如何实现多页还是不行的
  • 用上了,效果不錯,但有些功能無法實現
  • 可以用,还需要完善