Skip to main content

Questions tagged [dijit.tree]

The trees we see in User Interfaces help sort out long, hierarchical lists. A file system is the classic example, with Windows using it in Explorer. The Dijit tree widget is like that.

dijit.tree
0 votes
1 answer
20 views

dijitt.Tree: Styling Toplevel Entries only

I'm using dijit/Tree with data based on a large, hierarchical JSON String. So far it works like a charm. Even the styling with CSS looks good, but now I have to change the style only for the toplevel ...
Marcus Loy's user avatar
1 vote
0 answers
26 views

Dropped item on dijit.tree is not unique?

I have this rather long pre-AMD code that creates a dijit.tree from a dojo.data.ItemFileWriteStore. It works fine in general but I've tried to implement copying of tree nodes by DnD and I'm not sure ...
DanMan's user avatar
  • 11.5k
1 vote
1 answer
393 views

dojo: loading json data from local file (using http) into dijit tree

file snapshot_report_js.js: require([ "dojo/dom", "dojo/json", "dojo/store/Memory", "dijit/tree/ObjectStoreModel", "dijit/Tree", "dojo/text!http://localhost:8080/dojo/...
user1767599's user avatar
0 votes
1 answer
61 views

How to set a css class for a yet to be display node?

I am using a Dijit Tree, and I need to change the CSS style for a node based on its item property. The following code fails if the node has not been displayed yet (i.e. node is undefined) : var node ...
vegemat's user avatar
  • 85
0 votes
1 answer
60 views

I want JAWS to tell the user what kind of node they are in while navigating the dijit.Tree

We have a dijit.Tree that indicates a node type by using an icon. The icon is a unique indicator that tells the person this node is a "book" or a "DVD" or a "magazine" for example. dijit renders the ...
CCR's user avatar
  • 3
0 votes
1 answer
411 views

Stuck trying to use a customRestService and a serviceBean for a dojo Tree in XPages

I'm trying to create a dojo Tree, for the time being with test data. The bean always returns the same. When I put the data in a file inside the nsf Resources, it works. Using the bean, it fails. It ...
D.Bugger's user avatar
  • 2,316
0 votes
1 answer
519 views

Moving nodes within a Dijit Tree

I am using a tree as an input tool to allow the user to organize categories. I would like the users to be able to move the nodes around at the top level, specifically reordering them under the same ...
user2182349's user avatar
  • 9,722
0 votes
3 answers
432 views

Dojo dijit tree with checkbox is not keyboard accessible

I have created a dijit.Tree object where every node is a checkbox. When you select/deselect the parent node, the child nodes get selected/deselected; when one of the children is deselected, the ...
pdabade's user avatar
  • 13
0 votes
1 answer
701 views

Dojo 1.10 - refresh Tree view while keeping expanded nodes states

I have a Dojo tree in which I change icons depending on item values with the getIconClass method: _tree = new Tree({ model: _model, getIconClass: function(item) { if (item.completed) {...
jck's user avatar
  • 539
0 votes
1 answer
511 views

dojo/dijit tree checkbox select child when parent clicked

I found the working example online and I can see check box adjacent to each node of the tree The fiddle link mentioned last section given below: Dojo tree with checkbox not displaying Now my ...
Senthil's user avatar
  • 83
1 vote
0 answers
174 views

XPages: dijit.Tree dojo.xhrPost and Partial Refresh?

I have a dijit.Tree which works fine. Users can add, delete and rename nodes on this tree (jsfiddle) if they have special authorization on it. The next step is to post this changes back to the server,...
Georg Kastenhofer's user avatar
0 votes
2 answers
310 views

dojo declare constructor: object member reference undefined

I have no idea why I get into troubles, referencing the class member object this.treeStore in the checkAcceptance method of the following piece of code? Code Snippet (link to a running jsfiddle ...
Georg Kastenhofer's user avatar
0 votes
1 answer
373 views

dijit.Tree Folders appear with a icon PLUS even if no children are present

I am using the following code to render a dijit.Tree, as you can see from the picture I have these issues: The folder are marked with the "plus icon", but not children are present for any node. If I ...
GibboK's user avatar
  • 73.3k
5 votes
1 answer
2k views

Dijit Tree filtering and search not working on ObjectStoreModel

I have created a dijit tree and a textbox and I want to filter the tree nodes based on keywords provided in textbox. I implemented the solution provided in another question but it does not seem to ...
asim-ishaq's user avatar
  • 2,220
0 votes
2 answers
613 views

dijit/Tree is not updated when connected to a dojo/store/JsonRest

I have modified the dojo tutorial at http://dojotoolkit.org/documentation/tutorials/1.10/store_driven_tree/demo/demo.html to read from a JsonRest store. The problem is that the tree display doesn't ...
Dominic's user avatar

15 30 50 per page
1
2 3 4 5