"Bootstrap TreeView"
Bootstrap 3.3.0 Snippet by atatanasov

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="https://cdn.rawgit.com/atatanasov/gijgo/master/dist/combined/js/gijgo.min.js" type="text/javascript"></script> <link href="https://cdn.rawgit.com/atatanasov/gijgo/master/dist/combined/css/gijgo.min.css" rel="stylesheet" type="text/css" /> <div id="tree"></div> <br/> <p><a href="http://gijgo.com/tree/demos/bootstrap-treeview">Bootstrap TreeView</a> powered by gijgo.com</p>
$(document).ready(function() { $('#tree').tree({ dataSource: [ { text: 'North America', children: [ { text: 'USA', children: [ { text: 'California' }, { text: 'Miami' } ] }, { text: 'Canada' }, { text: 'Mexico' } ] }, { text: 'Europe', children: [ { text: 'France' }, { text: 'Spain' }, { text: 'Italy' } ] }, { text: 'South America', children: [ { text: 'Brazil' }, { text: 'Argentina' }, { text: 'Columbia' } ] } ], width: 500, uiLibrary: 'bootstrap' }); });

Related: See More


Questions / Comments:

thanks

Антон () - 2 years ago - Reply 0


Nice me sirve

Robert LUgo () - 2 years ago - Reply 0