- Notifications
You must be signed in to change notification settings - Fork31
bootstrapTable extension of treeView
License
NotificationsYou must be signed in to change notification settings
lslvxy/bootstrapTable-treeView
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TreeView forbootstrapTable
http://imsense.site/bootstrapTable-treeView/
数据中必须包含parentId属性,根节点parentId=null,子节点中根据配置的parentId==options[treeId].
例如配置项中treeId='id',那么子节点的parentId属性值为父节点的id
Data must containparentId properties,
rootNodeparentId=null
childNodeparentId=options[treeId]
if optionstreeId='id'
childNode'sparentId property value isparnetNode'sid value
<script src="./src/bootstraptable-treeview.js"></script> $('#tree_table').bootstrapTable({ class: 'table table-hover table-bordered', data: data, pagination: false,//分页请设置为false treeView: true,//是否开启树视图 treeId: "id",//id字段 treeField: "name",//展示树的字段 columns: [{ field: 'name', title: '名称', }, { field: 'desc', title: '详情', }, ]});About
bootstrapTable extension of treeView
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
