Questions tagged [treepanel]
197 questions
0
votes
2 answers
Rename and Insert erro TreeStore ExtJS 4.1.1
Good Evening guys,
When I update the method it does not save all model items like "tipoNo" and "pai". Someone know what i can do ?
Request Payload
This is the information sent in the request.
{"parentId":1,"nome":"qwfqwfqw"}
Model:
Fields in the…

Tiarê Balbi
- 1,480
- 1
- 23
- 32
0
votes
1 answer
how to apply custom CSS to select row into Tree Grid Panel into Ext JS 4.1
I am new into ext js I am using Ext js 4.1 for Create treeGrid Panel also we use different render function for ech column. Then How to apply CSS to Selected Row into Treepanel?

Sudarshan
- 350
- 4
- 11
0
votes
2 answers
ExtJs - expandPath of TreePanel not working
My Treepanel has the id 'treePanel' and works just fine.
Example path:
/subfolder3/abc
Expanding all with expandAll() works with the tree panel but expandPath() does not work.
Now, after some event I want to expand a path in my tree. However I can…

Shlomo
- 3,880
- 8
- 50
- 82
0
votes
1 answer
How to reference a treeviewdragdrop plugin of a treepanel from within the controller
I am trying to set up some event handlers within my controller to handle the beforedrop and drop events of the treeviewdragdrop plugin. The plugin belongs to the treeview, which is a child of the treepanel. I have tried numerous ways to reference…

Bbb
- 271
- 2
- 8
- 22
0
votes
2 answers
Need a copy of the tree store
ExtJS4
I've created a TreePanel as
var tree = Ext.create('Ext.tree.TreePanel', );
tree.store.setRootNode(treeJSON);
Now I want to create another tree with the same store data but different store objects. If I do this:
var tree1 =…

Shashwat
- 2,538
- 7
- 37
- 56
0
votes
1 answer
Extjs 4, Dynamic Tree and store re-mapping
I need to Extjs Tree panel with dynamic remote data(JSON) for file listing.
and the date field name is not fit to Extjs tree store field. so I need to re-mapping to make fit, like adding leaf field and text field.
the return JSON data is like…

Expert wanna be
- 10,218
- 26
- 105
- 158
0
votes
1 answer
ExtJS 4.0 Find data in model and treepanel
With the following Json I populate a treepanel:
[{"text":"Item 1}", "expanded":true, "cls":"folder", "children":
[{"text":"Item 1.1", "leaf":true, "foo", "bar"},
...
...
When the user selects Item 1.1 in the tree I'm able to find the…

Paul
- 1,068
- 11
- 29
0
votes
2 answers
Loading Nested JSON Data in ExtJS4 TreeGrid
I'm trying to load nested JSONData into my tree grid. On the first call to get data, all the data needed to populate the grid is returned in the response as a JSON Object. However I can see that it still tries fetch data for all the parent objects…

Babyangel
- 105
- 1
- 2
- 10
0
votes
1 answer
extjs4 column hide in treepanel shared across tabs
My application (mvc) is designed as such with 3 tabs in my view
Ext.define('App.view.cube.MainView', {
extend: 'Ext.panel.Panel',
....
layout: 'card',
...
dockedItems: [{
xtype: 'panel',
items: [{
//…

sunny
- 824
- 1
- 14
- 36
0
votes
1 answer
ExtJS - Move Treepanel Nodes Up/Down code behind
What is the best way to move the selected node on a TreeList. The TreeList will be a nested one without leaf nodes.
I tried to create an object of the selected node and append it to the…
0
votes
2 answers
How to retrieve the Node of a treepanel?
I am using ExtJS 4.
I have created a tree panel as
var treeStore = Ext.create('Ext.data.TreeStore', {
root: {
text:'Reports',
expanded: true,
children: [
{
id:…

Shashwat
- 2,538
- 7
- 37
- 56
0
votes
1 answer
Extjs4 tree panel borrow from grid panel
I was trying to implement lockable feature on tree.Panel so i borrowed from grid.Panel
Ext.tree.Panel(Ext.grid.Panel, ['bothCfgCopy','normalCfgCopy','lockedCfgCopy']);
but now my grid columns are objects i.e a column.$className on a tree.Panel…

sunny
- 824
- 1
- 14
- 36
0
votes
2 answers
node.updateInfo is not a function while appending node in extjs
I am trying to load data into an extjs 4 TreeStore but while appending node, I am getting node.updateInfo is not a function error.
My model classes are as follows :
Dimension.js
Ext.define('ilp.model.Dimension', {
extend : 'Ext.data.Model',
…

Shekhar
- 11,438
- 36
- 130
- 186
0
votes
1 answer
Lose keyNavigation in ExtJs4 after editing element
I want to implement interactive TreePanel with keyboard arrows navigation. After first click on any item it works properly.
I added keybinding < A >-add, < E >-edit, < D >-deleting. After Add dialog shown, user enter name of new item and press…

Rustem
- 2,884
- 1
- 17
- 32
-1
votes
1 answer
Extjs fieldLabel in Ext.tree.Panel
I would like to have a "welcome text" before the directory tree in my Ext.tree.Panel, so something like that:
I wrote this code, but it doesn't work:
Ext.define('MyProject.view.permissions.Example', {
extend: 'Ext.tree.Panel',
requires:…

TheOldBlackbeard
- 395
- 4
- 22