Search Type: Posts; User: yo_haha

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. 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


    ...
  2. Replies
    4
    Views
    1,051
    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...
  3. Replies
    4
    Views
    1,051
    Did you try the same example I provided?
    Could you please post your example so I can compare?

    Thanks.
  4. Replies
    4
    Views
    1,051
    Hi,

    I have a TreePanel with a root child and grand-child:


    tree = new Ext.tree.TreePanel({
    useArrows: true,
    animate: true,
    title: "Couches",
    enableDD:...
  5. Replies
    2
    Views
    360
    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.
  6. Replies
    3
    Views
    800
    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...
  7. Replies
    8
    Views
    1,115
    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...
  8. Replies
    3
    Views
    800
    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...
  9. Replies
    8
    Views
    1,115
    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.
  10. Replies
    3
    Views
    800
    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(){
    ...
  11. Replies
    8
    Views
    1,115
    firstChild and ChildNodes are properties of a TreeNode so
    tree.root.ChildNodes

    should work normally and return an array of child nodes.
  12. Replies
    8
    Views
    1,115
    Here is my tree :


    tree = new Ext.tree.TreePanel({
    useArrows: true,
    animate: true,
    title: "Couches",
    enableDD: true,
    loader: new...
  13. Replies
    8
    Views
    1,115
    It's a Ext.tree.TreePanel
  14. Replies
    8
    Views
    1,115
    Hi,

    I have a TreePanel which I fill by setting children to its root:


    root: {
    nodeType: "async",
    expanded : true,
    children: [{
    text:...
  15. Replies
    3
    Views
    1,382
    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. Replies
    3
    Views
    1,382
    Hi,

    I have a TreePanel which I fill by setting children to its root:


    root: {
    nodeType: "async",
    expanded : true,
    children: [{
    text:...
  17. A solution was found:
    Get the HTML Element <a> and attach to the onclick event a function that returns false.
  18. Replies
    2
    Views
    360
    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...
  19. 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...
  20. 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().
    ...
  21. Replies
    3
    Views
    1,055
    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...
  22. Replies
    3
    Views
    1,055
    Hi Stefano,

    Did you find a solution? I want to do approximatively the same thing.

    Regards.
  23. 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.
  24. The slider object is of type :




    xtype: "gx_opacityslider", layer: osm, leaf: false, vertical: false, width: 100, plugins: new GeoExt.LayerOpacitySliderTip({template: '<div>Opacity:...
  25. Thanks :)
Results 1 to 25 of 31
Page 1 of 2 1 2