Results 1 to 2 of 2

Thread: ExtJS tree Problem

  1. #1

    Default ExtJS tree Problem

    HI,

    I have some issue with EXTJS Ext.ux.tree.ColumnTree.

    My ColumnTree gets updated every N seconds.
    This uses the following code snippet.

    function treeRunner() {
    autoRefreshing = loadingTask = {
    run: function(){
    tree.root.reload();
    },
    interval: 3000,
    };
    }


    If we change the database values, while updating, it should reload the Tree folder nodes as well as Tree leaf nodes.
    We can reload the entire tree using Tree.root.reload() function. But if we change any leaf node value in database, it should reload only leaf nodes.
    How can we reload only leaf nodes in a ColumnTree with out reloading the parent node..?

    Please help me..
    Thanks in advance

    shiva nagaraju nadendla

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    You'll have to build something yourself using Ext.Ajax.request and update the nodes with the server response.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •