TreeGrid Updated to Flex 2

UPDATE: I recommend using the AdvancedDataGrid control in Flex 3 and Flex 4.

Huge thanks to Latha for updating my old Flex 1.5 TreeGrid code to Flex 2:
http://codercentral.blogspot.com/2006/10/using-treegrid-in-flex-20.html

Check out a demo of Latha’s work:

Looks like I’m off the hook! :) Thanks Latha!

This entry was posted in Flex. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

12 Comments

  1. Posted October 31, 2006 at 7:11 pm | Permalink

    I can’t open that link.
    Could you please send the source code to me?
    shuishuimu@hotmail.com
    Thanks!

  2. James Ward
    Posted November 1, 2006 at 8:29 am | Permalink

    Are you still having problems with that link? It’s working fine for me.

    • Kiran
      Posted May 8, 2010 at 2:29 am | Permalink

      Hi James,
      I my Xcelsius2008 S/W I have a Tree component Addon.I worked on XtreeGrid component from there but the problem is I could not able to see the arrow symbol at run-time but it was showing me at design time.So Could you please give me the suggestions on this.

      • Posted May 8, 2010 at 2:35 pm | Permalink

        The AdvancedDataGrid is a better way to do this. Would that work for you?

        • Deepak
          Posted August 2, 2010 at 3:43 am | Permalink

          Thank you for your reply James..
          I am getting the same problem like Mr. Kiran, could you please elaborate little bit more on this like
          1) How do I get AdvanceDataGrid component ? its free or i have to buy it
          2) In the last you have posted one link, i am really fascinated to see that stuff, but how do I use this in my Xcelsius please throw some light as well.

          Will really appreciate your quick reply on that

  3. Posted March 29, 2007 at 8:42 am | Permalink

    Hi James,

    I found your treeGrid component a few days ago and it was all what i need !
    I use the version for flex 2 updated by Latha.

    But I found a little bug in the ‘openItem’ function.
    When you open items until 3rd level, then close first level and open it again the sublevels arn’t displayed properly.

    Here’s the ‘openItem’ function corrected :
    ———————–
    private function openItem(item:TreeNodeVO, indexNum:Number):Number{

    var root:ArrayCollection = parentApplication.dp;
    var nbRowsDisplayed:Number = 0;

    //add the rows for the children at this level
    for(var i:Number = 0; i

  4. Posted March 29, 2007 at 8:43 am | Permalink

    //add the rows for the children at this level
    for(var i:Number = 0; i

  5. Ki Park
    Posted January 13, 2009 at 11:09 am | Permalink

    private function openItem(item:TreeVO, indexNum:Number):void
    {

    for(var j:Number = 0; j < item.childList.length; j++)
    {
    var nListTop :int = root.getItemIndex(item.childList[j]);
    if (item.childList[j].isOpen)
    {
    openItem(item.childList[j], nListTop);
    }
    }

  6. Erik
    Posted July 28, 2010 at 5:43 am | Permalink

    Hi James,

    I’m fairly new to Xcelsius and exactly looking for something like your treegrid. I downloaded it, but can’t seem to get to work. Could you send me an Xcelsius example where your tree is applied?

    Also: it seems there’re some additions/corrections to the original: is there a final version where all this is included?

    Many thanks,

    Erik

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Subscribe without commenting