Search Type: Posts; User: yo_haha
Search: Search took 0.03 seconds.
-
18 Dec 2012 11:20 AM
- Replies
- 5
- Views
- 642
You can find it here : http://docs.sencha.com/ext-js/3-4/#!/api/Ext.tree.TreeNode-method-getUI
I couldn't put the slider on the treenodes because the method
... -
6 Dec 2012 9:35 AM
Jump to post Thread: Get TreeNode anchor by yo_haha
- Replies
- 4
- Views
- 546
I'm a bit lost...
I copied my tree into an empty html file and rendered the tree to a div. I get no problem with tree.getRootNode().firstChild.firstChild.getUI().getAnchor()
It returns the object... -
27 Oct 2012 12:43 PM
Jump to post Thread: Get TreeNode anchor by yo_haha
- Replies
- 4
- Views
- 546
Did you try the same example I provided?
Could you please post your example so I can compare?
Thanks. -
24 Oct 2012 7:49 AM
Jump to post Thread: Get TreeNode anchor by yo_haha
- Replies
- 4
- Views
- 546
Hi,
I have a TreePanel with a root child and grand-child:
tree = new Ext.tree.TreePanel({
useArrows: true,
animate: true,
title: "Couches",
enableDD:... -
22 Oct 2012 10:30 AM
Jump to post Thread: Center slider object by yo_haha
- Replies
- 2
- Views
- 190
Ok thanks.
Now I have another problem.
getAnchor() returns undefined. I don't know what I've changed in the code that affected this methos.
getUI() works and return the UI as expected. -
18 Oct 2012 4:26 AM
Jump to post Thread: Error while showing a window by yo_haha
- Replies
- 3
- Views
- 466
I found an answer here : http://www.sencha.com/forum/showthread.php?246338-TreePanel-in-a-Window-give-issue-when-the-Window-is-opened-2nd-time..-%28
I moved the components declaration and... -
18 Oct 2012 2:09 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
One other issur with this tree!
tree.getRootNode().firstChild.firstChild.getUI()
works fine and returns the child UI.
but
tree.getRootNode().firstChild.firstChild.getUI().getAnchor()
returns... -
18 Oct 2012 2:02 AM
Jump to post Thread: Error while showing a window by yo_haha
- Replies
- 3
- Views
- 466
OK. The window centers by default.
I tryed what you said about children and, indeed, the errors comes from both children.
Now I don't know where to post my question about the children error since I... -
18 Oct 2012 1:29 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
Thank you very much for the example.
The problem was the tree.getRootNode().expand(); command that has to be performed after the tree is created. -
18 Oct 2012 1:20 AM
Jump to post Thread: Error while showing a window by yo_haha
- Replies
- 3
- Views
- 466
Hi,
I have a button that displays a window when clicking on it :
print = new Ext.Button({
iconCls: 'print',
tooltip: "Imprimer la carte",
handler: function(){
... -
17 Oct 2012 7:20 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
firstChild and ChildNodes are properties of a TreeNode so
tree.root.ChildNodes
should work normally and return an array of child nodes. -
17 Oct 2012 4:58 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
Here is my tree :
tree = new Ext.tree.TreePanel({
useArrows: true,
animate: true,
title: "Couches",
enableDD: true,
loader: new... -
17 Oct 2012 4:39 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
It's a Ext.tree.TreePanel
-
17 Oct 2012 3:20 AM
Jump to post Thread: TreePanel childeen nodes access by yo_haha
- Replies
- 8
- Views
- 708
Hi,
I have a TreePanel which I fill by setting children to its root:
root: {
nodeType: "async",
expanded : true,
children: [{
text:... -
17 Oct 2012 1:03 AM
Jump to post Thread: TreePanel children and nodes by yo_haha
- Replies
- 3
- Views
- 598
tree.getSelectionModel().select(tree.getRootNode());
tree.selectPath(tree.getRootNode().getPath('text'), 'text');
retun
TypeError: Ext.fly(node.ui.wrap) is null
and getChildAt() doesn't... -
16 Oct 2012 11:45 PM
Jump to post Thread: TreePanel children and nodes by yo_haha
- Replies
- 3
- Views
- 598
Hi,
I have a TreePanel which I fill by setting children to its root:
root: {
nodeType: "async",
expanded : true,
children: [{
text:... -
16 Oct 2012 7:23 AM
- Replies
- 2
- Views
- 372
A solution was found:
Get the HTML Element <a> and attach to the onclick event a function that returns false. -
16 Oct 2012 5:14 AM
Jump to post Thread: Center slider object by yo_haha
- Replies
- 2
- Views
- 190
Hi,
I added a slider object to a <div style="text-align: center"></div> element. I put margins: 'auto' in the constructor of the slider in order to render it centered in the div.
It seems that the... -
16 Oct 2012 4:00 AM
- Replies
- 2
- Views
- 372
Hi,
I added a div element inside a TreePanel.root.firstChild.getUI().getAnchor() element.
Then I added an Ext.Slider() object inside the added div.
The problem is when I click on the slider the... -
16 Oct 2012 3:08 AM
- Replies
- 5
- Views
- 642
I found an interesting solution:
To manipulate client side interface of tree nodes there is this :
treenode.getUI()
where you can find interesting methods like: getEl() and getAnchor().
... -
16 Oct 2012 3:06 AM
Jump to post Thread: Interactive elements on TreeNode by yo_haha
- Replies
- 3
- Views
- 656
I have just found something that could help :
To manipulate client side interface of tree nodes there is this :
treenode.getUI()
where you can find interesting methods like: getEl() and... -
16 Oct 2012 12:27 AM
Jump to post Thread: Interactive elements on TreeNode by yo_haha
- Replies
- 3
- Views
- 656
Hi Stefano,
Did you find a solution? I want to do approximatively the same thing.
Regards. -
15 Oct 2012 11:45 PM
- Replies
- 2
- Views
- 344
The problem used to appear because of a GeoExt LayerContainer object that I had on a TreePanel. After deleting that object from my application, the error disappeared.
-
15 Oct 2012 6:11 AM
- Replies
- 5
- Views
- 642
The slider object is of type :
xtype: "gx_opacityslider", layer: osm, leaf: false, vertical: false, width: 100, plugins: new GeoExt.LayerOpacitySliderTip({template: '<div>Opacity:... -
15 Oct 2012 4:29 AM
- Replies
- 2
- Views
- 229
Thanks :)
Results 1 to 25 of 31
