Questions tagged [bootstrap-treeview]

Builds tree widget with Bootstrap list-group theming

Bootstrap treeview Builds JSON powered Bootstrap Tree widgets. Look and feel uses Bootstraps built in list-group

Resources

38 questions
1
vote
1 answer

Uncaught TypeError: Cannot set property 'nodeId' of undefined

I'm getting this error on boostrap-treeview.js:267 when retrieving JSON data for my boostrap-treeview. $(document).ready(function() { $.ajax({ url: "js/category_data.php", method:"POST", dataType: "json", …
Raffaele Colleo
  • 223
  • 2
  • 7
  • 25
1
vote
2 answers

Making json conform to Bootstrap Treeview format

I'm trying to figure out the best way to transform some JSON data into the format requested for bootstrap-treeview. My initial thought was to create some sort of recursive function to go through and modify everything, but i'm having some real…
nshelms
  • 11
  • 1
  • 5
1
vote
1 answer

How to get all checked nodes in bootstrap tree-view

I am using boostrap treeview, https://github.com/jonmiles/bootstrap-treeview, and i don't know how to get all checked nodes
Wekerle Tibor
  • 457
  • 2
  • 7
  • 19
1
vote
1 answer

Error while populating bootstrap treeview from data retrieved using Ajax call

I am using bootstrap treeview plugin (https://github.com/jonmiles/bootstrap-treeview). I am not sure if this is an issue with treeview plugin or the way i am implementing the code.I am trying to load the treeview using data from ajax call back. Here…
CSC
  • 1,175
  • 3
  • 11
  • 24
1
vote
0 answers

Bootstrap treeview from asp.net masterpage

I am using Bootstrap Treeview from my ASP.NET master page. Please see the sample code below. This code is in a Master page. The treeview is losing its state when going to a child page (for example, Page5). The menu gets collapsed. What would be the…
0
votes
0 answers

Django with Bootsrap treeview

I’m trying to create a page to show a folder and its content using Tree-view Bootstrap. The folder may contain many sub-folders and files (child nodes). I want to implement one of those examples in a Django application. Bootstrap Tree-views…
tibas
  • 139
  • 13
0
votes
0 answers

bootstrap-treeview multilevel & three tables

First post here, so please bear with me. I'm trying to create a treeview using bootstrap-treeview and I've nearly got my response page working but level 3 isn't, I can't get the next node working.
alexw1983
  • 1
  • 1
0
votes
1 answer

Treeview - How to have nodes default checked in JSON?

For the jonmiles treeview plugin, how do I define in the json data that certain nodes are checked by default? the following is completely ignored: [{ "text": "Parent 1", "checked": true, "nodes": [{ "text":…
Patrick Kwinten
  • 1,988
  • 2
  • 14
  • 26
0
votes
1 answer

Bootstrap tree-view: Tree doesn't show up

I'm new to tree-view, I'm trying to show a basic tree but it doesn't work and I don't know where I made the mistake. I made test.html that follow the same structure of my basic.html (I'm sparing you code of the navbar, alerts, etc). I have other js…
saikuron
  • 329
  • 1
  • 2
  • 13
0
votes
0 answers

Button doesn't work after partial view rendering

Warning! This question is not for people with heart problems. Problem explanation: When the page is loaded I click the button to delete the list item, works fine. After that, the partial view is reloaded (ajax call) but the same delete button…
0
votes
1 answer

Bootstrap Treeview - find node by property value

I'm using Bootstrap Treeview to display hierarchical date. The node data is retrieved using a call to a Web API endpoint and the data includes other name/value pairs, including a unique ID number, which are added as node properties. I would like to…
Doug
  • 457
  • 5
  • 17
0
votes
1 answer

Bootstrap-treeview with Ajax ASP.NET Core

Im using ASP.NET Core and trying to populate a bootstrap treeview from a ajax call. I can get the response from the server but the tree view doesnt create a tree on the view. I have installed the package via npm and linked to the css and script.…
molebox
  • 585
  • 1
  • 8
  • 17
0
votes
1 answer

Complex JSON array of objects to hierarchical treeview

I'm finding it hard to solve this. I have a complex JSON got from a C# component as following: { "definitions": { "_ExtensionType": { "type": [ "object", "null" ], "properties": { "Any": { …
crawletas
  • 127
  • 1
  • 14
0
votes
1 answer

save state bootstrap-treeview

I need to save the state with this component https://github.com/jonmiles/bootstrap-treeview So I have modify the source code here: https://github.com/jonmiles/bootstrap-treeview/blob/master/src/js/bootstrap-treeview.js and I have added in the line…
Daniele Grillo
  • 1,011
  • 4
  • 13
  • 31
0
votes
1 answer

how to use bootstrap treeview with dynamic json in php

var treeJSON = ''; function getTreeJSON() { $.ajax({ type: 'POST', url: 'controller.php', async: false, data: { param: "FunctionCore->FunctionCoreImpl->getTreeJSON()" …
王肖毅
  • 149
  • 3
  • 15