Questions tagged [treepanel]

197 questions
2
votes
2 answers

EXTJS 3.4 Load JSON data into a TREE dynamically

I need to load JSON data into a Tree or TreePanel. The JSON data does not come from a file or retrived from a URL but is built on the fly. I cannot find any examples. Can anyone help?
Marco Desira
  • 21
  • 1
  • 2
2
votes
1 answer

ExtJS Multiline data in TreePanel's cell

is there a way to utilize treepanel and display multiline data in cell ? I am using column's renderer to format data in element (2-3 rows) and display it in cell. Best regards kkris1983
kkris1983
  • 471
  • 1
  • 7
  • 15
2
votes
1 answer

'this.el is null' while creating drag-drop feature in treepanel of ExtJS 4

I am trying to implement drag-n-drop feature in treepanel of ExtJS 4. Basically I want to drag some nodes from treepanel into an text box. I am pretty confused with the way drag-n-drop is implemented in ExtJS 4 but then also I have tried to write…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
1
vote
0 answers

ext 4-1 TreePanel Locked column

i have use property locked in treepanel column, and my console report problem : columns: [{ xtype: 'treecolumn', //this is so we know which column will show the tree text: 'Task', locked:true, flex: 2, …
1
vote
6 answers

How to stop extjs treepanel from loading infinitely?

Finally after struggling with extjs tree panel, tree store and building custom reader to read and convert pentaho data for 2 weeks I have managed to load pentaho data into treepanel of extjs. Now my Tree panel is loading same data infinitely.…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
1
vote
1 answer

What is the difference between TreeGrid and TreePanel components of ExtJs 4?

I would like to know whats the difference between TreeGrid and TreePanel components of ExtJS 4? I was looking for some component which will allow me to display rows and sub rows (for slice and dice kind of dashboard) but couldn't find anything…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
1
vote
2 answers

ExtJS4 Tree Panel - changing the icon of a node with no children?

I have a tree panel in an ExtJS4 application and I want to change the icon's used for nodes so that they use the "leaf" icon when they contain no children nodes. But as soon as a child node is added to it, it reverts back to the normal folder icon.…
Bill Dami
  • 3,205
  • 5
  • 51
  • 70
1
vote
1 answer

TreePanel Error : Uncaught TypeError: Cannot call method 'substring' of undefined

I've a problem while rendering TreePanel. I'm using MVC structure, here's my definition: (By the way I don't use dynamic loading, included ext-all-debug.) Menu - Model Ext.define('RIA4.model.Menu', { extend : 'Ext.data.Model', idProperty …
talha06
  • 6,206
  • 21
  • 92
  • 147
1
vote
2 answers

Scrollbar in treepanel extjs 4 not work

I'm a problem with scrollbar in extjs 4. The horizontal scrollbars don't show and the vertical scrollbars don't move. I test the code in google chrome, IE and firefox. The javascript don't show errors. This is a part of code, in productos_panel is…
w00x
  • 11
  • 1
  • 2
1
vote
1 answer

Tree view in sencha-touch

I want to create a tree panel in sencha touch, but I am unable to find a single example the net and on the sencha website also, istead I got one in ext js 4, but I need to create it in sencha touch only. Can anyone help?
Jammy
  • 35
  • 1
  • 2
  • 9
1
vote
1 answer

Ext.tree.TreeLoader is not a constructor error

I'm new to Extjs4.In Extjs4 loader not working when i use loader: new Ext.tree.TreeLoader() . it showing the error like "Ext.tree.TreeLoader is not a constructor". it works fine in extjs older versions. Please help me. Thanks in advance
siva565
  • 499
  • 2
  • 12
  • 25
1
vote
2 answers

ExtJs 4 : Tree grid panel filter

I am using ExtJs 4 with a Tree panel on west region and TreeGrid panel on center region. Is there any way to filter the TreeGrid panel(center region) on selection of the treepanel(west) ?? I tried the following but no luck…
Rashmi
  • 629
  • 1
  • 11
  • 35
1
vote
1 answer

Ext JS 3: How to copy a dynamically-generated treepanel?

I have a dynamically-generated Ext.tree.TreePanel in Ext 3.3.1. It looks like this: -root -fruit -apple -vegetable -carrot I need to make a duplicate/copy of this tree. I understand that the ids will be different and that's…
Miriam
  • 969
  • 1
  • 6
  • 15
1
vote
0 answers

extjs treepanel cellediting

I am using ext version 6.5.3. classic Neptune. I have a treepanel with cellediting plugin and have provided clicksToEdit as 1. Now if I apply filter on the treepanel and click on the cell to edit, it takes 1 click to do so. But if I click on the…
Anuja Kori
  • 21
  • 3
1
vote
1 answer

How to get JSON or XML from parsed Ext js Tree?

I have Tree, loaded from XML exactly like this. Additionally I enable drag and drop. Now after making changes in tree by drag and drop, we should be able to get new data so that I can generate new xml. Even JSON would help to re-generate new xml.
Vikas
  • 24,082
  • 37
  • 117
  • 159