Questions tagged [treepanel]

197 questions
3
votes
4 answers

Updating EXTJS 4 Treepanel periodic

I would like to create a Treepanel, which is updated once a second. So I took a store with a proxy for data acquistion: store = new Ext.data.TreeStore({ model: 'TaskState', proxy: { type: 'ajax', url : '/getTaskList' }, …
semast0r
  • 31
  • 1
  • 3
3
votes
1 answer

Ext.js Editable TreeNodes

Is is possible to make TreeNodes (i.e. folders) editable by the user? I see that there's an option called editable in TreeNode class but I couldn't get it working or find any examples on its usage. My other quest is to place an input box in nodes…
frbry
  • 499
  • 2
  • 12
  • 25
3
votes
4 answers

How to uncheck all tree nodes in Ext.tree.TreePanel?

I would like a 'reset' method to uncheck all the checked nodes in Ext.tree.TreePanel.
mothee
  • 141
  • 2
  • 4
  • 12
3
votes
1 answer

Loading ExtJS TreeStore from JSON

I've been banging my head around this for about 12 hours now and am not getting anywhere. I'd really appreciate some help or direction. I can't get a visualforce page to render a sensa extjs tree panel with data from JSON. I'm using extjs 4.2.1. I…
Just Sam
  • 61
  • 5
3
votes
1 answer

extjs 4.2 treepanel bufferedRenderer scroll to specific node

I use ExtJS 4.2 and bufferedRenderer for large tree. when i need to scroll specific node I have to use grid.view.bufferedRenderer.scrollTo(rowIndex) as in http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/grid/buffer-grid.html but when I do…
clarent
  • 347
  • 2
  • 15
3
votes
1 answer

ExtJS4 treepanel change node color

I have a treepanel in Extjs4 with some of it's nodes are checked in the json code with "checked: true". I want to change the color of only the checked nodes from black to another color. I hope my question is clear and thank you for helping.
Fares Omrani
  • 255
  • 1
  • 4
  • 22
3
votes
1 answer

Uncaught TypeError: Cannot read property 'internalId' of undefined( WHILE SORTING NODES ON EXPAND)

I want to the sort the tree node when it is expanded. I have been struggling to do this in extjs 4.1.0 with itemexpand or beforeItemExpand event using the following code. It works fine in ExtJS 4.2.1. When I click on node to expand, I get…
Rohit Chawla
  • 101
  • 1
  • 8
3
votes
3 answers

extjs load image in TreePanel

i created a Ext.TreePanel and i would have in the node an image, in the text of the node i have the url to the image but i can't load it in the page, i see only the text, there is the possibility to view the image? this is my code var root1 = new…
lucadelu
2
votes
1 answer

How to specify model name in store of an extjs 4?

I am getting frustrated while working with store and model of extjs 4. I am getting Store defined with no model. You may have mistyped the model name. error even though I have specified model name inside store. Here is my code…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
2
votes
0 answers

Allow dynamic drag drop permissions using arrays

I have created two trees in gwt-ext one contains the values of nodes that can be dragged and other the nodes which can be dropped on. The problem being i am not able to set only a particular set of leaves mentioned in the array, from a tree to be…
Sagar Tandel
  • 299
  • 1
  • 3
  • 10
2
votes
1 answer

How to add the root node of TreePanel in another TreePanel via drag drop?

I want to add the root node of one tree into another tree using drag drop. The example i am using for this task is at the following URL : http://gwt-ext.com/demo/#twoTrees Please help me asap.
Sagar Tandel
  • 299
  • 1
  • 3
  • 10
2
votes
2 answers

ExtJS 4 - how to set the background of a tree panel (including tree nodes)

I'm trying to change the background color of a Treepanel in extjs 4. So far I've created a custom css class with the desired color and applied it to the panel and its view { baseCls: "mycustomclass", viewConfig: {baseCls:…
nightwatch
  • 1,276
  • 2
  • 18
  • 27
2
votes
2 answers

Extjs 4 treepanel bug

I use a simple treepanel for my application, and sometimes it stops expanding and unexpanding nodes with the next error: records[i] is undefined http://localhost:8080/extjs/ext-all-debug.js Line 58763 My code is quite simple: var tree_store =…
BlackLine
  • 363
  • 1
  • 4
  • 10
2
votes
4 answers

Scrollbar in extjs tree panel does not work

Sometimes it happens that the scrollbar of my tree panel does not work anymore. While it's still possible to move the scrollbar, the tree doesn't move at all anymore. That happens to me in Firefox and in Chrome as well. Here is the source of my…
alex
  • 833
  • 4
  • 12
  • 21
2
votes
1 answer

What is best way to updating tree Panel

I would like know , what is the best way to sync/load tree panel after updating database. Today, i do an Ajax Request to make an updates. If the response is successful i use method load of my treeStore. myTreePanel.getStore.load(); But this…
Vincent Guesné
  • 776
  • 5
  • 13
  • 28
1
2
3
13 14