GIGJ.COM
welcome to my space
X
Welcome to:gigj.com
Search:  
NAVIGATION - HOME
tree expanded event
Published by: admin 2009-01-07
  • RCM Guidebook: Building a Reliable Plant Maintenance Program - Google Books Result::
    href=http://books.google.com/books?id=YfFFFR84mowC&pg=PA59&lpg=PA59&dq=tree+expanded+event&source=web&ots=22PKEML4sH&sig=tu_KIkv-B4oaD5E9icAvs0bmnjw&hl=en&sa=X&oi=book_result&resnum=94&ct=result class=l onmousedown=return clk(this.href,,,res,99,)>RCM Guidebook: Building a Reliable Plant Maintenance Program - Google Books Resultby Jim August - 2003 - Business & Economics - 267 pages 360B2 % 2- 1 9 System Tree for Expanded System Equipment Llst (Critical Safety) System equipment partition differentiates trains, skids, and components.
    http://books.google.com/books?id=YfFFFR84mowC&pg=PA59&lpg=PA59&dq=tree+expanded+event&source=web&ots=22PKEML4sH&sig=tu_KIkv-B4oaD5E9icAvs0bmnjw&hl=en&sa=X&oi=book_result&resnum=94&ct=result
    HOME
    Argh sorry for posting so many questions, this is the last one I promise ;P


    I am trying to capture the expanded event on my tree.


    I have a tree that loads like this


    var tree = new Tree.TreePanel({
    autoScroll:true,
    animate:true,
    enableDD:true,
    height:700,
    width:300,
    containerScroll: true,
    loader: new Tree.TreeLoader()
    });


    Below it in my code, I want to add something like this


    tree.on('expand', function(node) {
    Ext.MessageBox.alert('Expanded', node.id);
    });


    However, this function never gets called.

    On a 'click' event, this setup works. However on an expand or collapse event it does not work. If I put the expand or collapse callback on the ROOT node it works, but it doesn't seem to work when on a non-root node (like trying to put it on the entire tree panel).
    Fault Tree Analysis Programs::
    An event fault tree analysis program. Allows for multiple branches at event tree nodes and multiple attributes to be assigned to each node. Expanded event
    http://www.enre.umd.edu/tools/ftap.htm
    HOME
    Nabble - FlexCoders - Tree has same number of items after expand ::
    2 posts - Last post: Dec 6, 2008by "itemOpening" event) would cause the tree to only display a number Maybe on expand it has already calculated how many children it
    http://www.nabble.com/Tree-has-same-number-of-items-after-expand-but-not-after-change-td20895514.html
    HOME

    So my question boils down to: Is there any way to add a listener to all nodes in a tree (no matter how many there may be)? A tree panel has a public event 'expanded', but it is never called. So I am starting to think I will need to iterate through every single node of the tree, and add a listener to each node for expanded? Is this right?
  • DHTML Expandable and Collapsible Tree from JavascriptToolbox.com::
    Built-in features of this tree control allow you to easily Expand All Nodes, DBFileUtil.inc; Date.inc; Event.inc; HTML.pm; SimpleDateFormat.pm
    http://www.javascripttoolbox.com/lib/mktree/
    HOME
    Travis Roth’s Weblog » Blog Archive » Using ARIA and jQuery to ::
    Oct 28, 2008 In part two event handling will be discussed and added to the tree so that nodes can be expanded and collapsed.
    http://www.travisroth.com/2008/10/28/using-aria-and-jquery-to-build-an-accessible-tree-–-part-1/
    HOME


  • Fixed it, I think there is a documentation bug.
    ....
    Hum how do I bug a documentation bug...

    You can note other documentation issues in the Sticky: Missing and/or Incorrect Docs - Ext 2.x in Ext 2.0 -> Bugs.


  • Agreed, it would probably be worthwhile to put 1.1.1 or 2.0 in the current documentation title so that people do not get confused.


  • grr the 1.0 docs never say 1.0 anywhere, so I assumed they would be the extJS 2.0 docs (aka current).


  • Both sets of doc indicate the version. It's listed as 1.1.1 in the API Reference panel on the 1.x url and the 2.0 doc shows it in both the header bar and the browser's window title.


  • tunaboo -

    This was a change that was made from Ext 1.x to Ext 2.0. You linked to the 1.x documentation.
    http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreePanel&member=expandnode

    The change was made because TreePanel is a subclass of a standard Panel and already had an expand event.


  • Both sets of doc indicate the version. It's listed as 1.1.1 in the API Reference panel on the 1.x url and the 2.0 doc shows it in both the header bar and the browser's window title.

    Go here

    http://extjs.com/deploy/ext/docs/

    1 small line in API reference panel... could use it in the browser title or such, definitely does not show up on my browser.


  • tree.on('expandnode', function(node){ }, the event 'expandnode' expands all the nodes under the parent node. How can I set thru the api that it should expand only the node I click & not the child nodes.


  • Fixed it, I think there is a documentation bug.

    The ext js 2.0 documentation for treepanel says there is a public event


    expand (http://extjs.com/forum/../deploy/ext/docs/output/Ext.tree.AsyncTreeNode.html#event-expand) : ( Node this ) TreeNode (http://extjs.com/forum/../deploy/ext/docs/output/Ext.tree.TreeNode.html#event-expand) Fires when this node is expanded

    Looking at the source, the event is called expandnode, not expand.

    Hum how do I bug a documentation bug...





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks
  • location of business
  • minimum advertised pricing 100
  • market for government it contracts
  • estimating income tax
  • uk contractors and tax burdens
  • offset or postpone capital gains from an llc negative capital account
  • cpa or esq or regulator usa banking reserves on assets side of balance sheet
  • consulting firms in chicago
  • caffe nero 39 s tax rate
  • statistics on online dating industry australiawide and worldwide
  • life insurances rates in florida expressed as dollars 1 000 of coverage
  • becoming expert in court cases
  • stats about of companies who restated earnings for technical reasons
  •  
  • profit distributions for s corporation any way to compel distribution
  • revenue and cost projection analysis
  • overhead application
  • list of public companies headquartered in sf bay area
  • cashless atm biz need info
  • mobile handset market in india
  • accounting method
  • mortgage interest deduction
  • income taxes on wages paid by one spouse to another
  • need help with accounting question
  • flat for specialist workers on short term projects around the uk
  • where could i get a list of sellers of investment property worth more than 1mm
  • taxes and cash gifts
  • sec security exchange commission requirments
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about tree expanded event , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved