{"id":20326740,"url":"https://github.com/jaideepghosh/bootree","last_synced_at":"2025-07-08T00:37:33.678Z","repository":{"id":143864090,"uuid":"131012389","full_name":"jaideepghosh/BooTree","owner":"jaideepghosh","description":"A simple solution for displaying check-boxes in hierarchical tree structures (i.e. a Tree View) with Amazing Bootstrap.","archived":false,"fork":false,"pushed_at":"2020-01-24T08:06:37.000Z","size":158,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T15:54:33.121Z","etag":null,"topics":["bootstrap","checkbox","jquery","treeview"],"latest_commit_sha":null,"homepage":"https://jaideepghosh.github.io/BooTree/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaideepghosh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-25T13:41:15.000Z","updated_at":"2022-06-04T05:54:47.000Z","dependencies_parsed_at":"2023-07-16T05:15:24.186Z","dependency_job_id":null,"html_url":"https://github.com/jaideepghosh/BooTree","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaideepghosh%2FBooTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaideepghosh%2FBooTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaideepghosh%2FBooTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaideepghosh%2FBooTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaideepghosh","download_url":"https://codeload.github.com/jaideepghosh/BooTree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248411584,"owners_count":21098950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","checkbox","jquery","treeview"],"created_at":"2024-11-14T19:45:05.242Z","updated_at":"2025-04-11T20:07:05.624Z","avatar_url":"https://github.com/jaideepghosh.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BooTree\n\nA simple solution for displaying check-boxes in hierarchical tree structures (i.e. a Tree View) with Amazing Bootstrap.\n\n![BooTree Screenshot](https://i.imgur.com/eHr71T2.png)\n\n## Dependencies\n\n1. [jQuery v2.1.3 (\u003e= 1.9.0)](http://jquery.com/)\n2. [Bootstrap v3.3.4 (\u003e= 3.0.0)](http://getbootstrap.com/)\n\n## Getting Started\n\n### Installation\n\nInclude the following files in your project.\n\n1. bootree.min.css\n2. bootree.min.js\n\n### Usage\n\nAdd the following resources in your html file.\n\n```\n  \u003c!-- Required Stylesheets --\u003e\n  \u003clink href=\"../dist/bootree.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n  \u003clink href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\"/\u003e\n\n  \u003c!-- Required Javascript --\u003e\n  \u003cscript src=\"https://code.jquery.com/jquery-3.3.1.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../dist/bootree.min.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n```\n\nThe component will bind to any existing DOM element.\n\n```\n\t\u003cdiv id=\"tree\"\u003e\u003c/div\u003e\n```\n\nTo initialize the BooTree and plot the check-boxes in #tree:\n\n```\n    \u003cscript type=\"text/javascript\"\u003e\n            $(document).ready(function () {\n                var tree = $('#tree').tree({\n                    primaryKey: 'id',\n                    uiLibrary: 'bootstrap',\n                    dataSource: [ { id: 1, text: 'Apple', children: [ { id: 2, text: 'Avocado' } ] } ]\n                    checkboxes: true\n                });\n                $('#btnSave').on('click', function () {\n                    var checkedIds = tree.getCheckedNodes();\n                    alert(checkedIds);\n                });\n            });\n    \u003c/script\u003e\n```\n\n# Example\n\nYou can see BooTree [here](https://jaideepghosh.github.io/BooTree/example/index.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaideepghosh%2Fbootree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaideepghosh%2Fbootree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaideepghosh%2Fbootree/lists"}