Fetch the repository succeeded.
This action will force synchronization from beijiyi/基于layui的树表格-treeGrid, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
插件js地址:tree_table_treegrid_based_on_layui/testTreeGrid/web/design/extend/treeGrid.js
例子地址:
1、树状表格:tree_table_treegrid_based_on_layui/testTreeGrid/web/index.html
2、普通表格:tree_table_treegrid_based_on_layui/testTreeGrid/web/index_list.html
在线demo: **在线demo_tree , demo_list
**
**
20180919
1、定义srot排序方式,不再支持前端排序,排序只能是服务器端,点击可排序列,会触发查询语句重新请求后,并将排序字段发到后端
格式:sort:[{"field":"id","sort":"desc"},{"field":"pId","sort":"desc"}]
2、开启分页使用isPage:true,开启分页后,必须在后端自行排序每页的记录
20180913
1、增加table级别的heightRemove参数,用法在例子上面有,可自行查看
,heightRemove:[".calss","#id",10]//不计算的高度,表格设定的是固定高度,此项不生效
201800912
1、当前版本定为v0.1
2、只依赖treeGrid.js(去掉dltable.js和treeGrid.css依赖)
20180830
1、规范内部表格级参数与列级参数(全部列级别的参数需以lay_开头,请务必注意)
**
**
效果图:
折叠记忆
新增节点-
删除节点
删除多个节点
节点初始化隐藏、显示控制1
1设置
{"id":"111", "pId":"1", "name":"苹果","lay_is_open":false}
节点初始化隐藏、显示控制2
多选操作(选中父节点,子节点被选中;全部子节点被选中,父节点也被选中;自己看效果)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。