Treegrid codebehind to Tab Panel

  1. #1

    Treegrid codebehind to Tab Panel

    Is is possible to add a Tree Grid in code behind to a TabPanel. I am using VB and I can add a grid and all other types of objects in Tab Panel (codebehind) but I cannot add a treegrid or a treepanel. I error on debug without any real message back. It just points to the following statement when I click on the tab, after the tab is created and rendered.
    -- This happens in the ext.awd

    This is not created on a Page Load, it is intended to be interactive with the user.

    This syntax is close to what I used for a GridPanel which works just fine for me. It is a function that should return a TreeGrid.

    Dim tree = New TreeGrid()
            Dim column = New TreeGridColumn
            column.Header = "TEST"
            ' tree.ID = "TreePanel1"
            tree.Width = Unit.Pixel(300)
            tree.Height = Unit.Pixel(450)
            tree.Icon = Icon.BookOpen
            tree.Title = "Catalog"
            tree.AutoScroll = True
     Dim root = New TreeNode("Composers")
            root.Expanded = True
            Make_A_Tree_Grid = tree

    Thanks for any help or pointing out anything I might have misunderstood about TreeGrid.
    Last edited by Daniil; Mar 07, 2012 at 6:23 AM. Reason: Please use [CODE] tags

Similar Threads

  1. Replies: 0
    Last Post: Nov 29, 2011, 9:41 AM
  2. AddListener for Ext.Panel Runtime from codebehind
    By Journeyman79 in forum 1.x Help
    Replies: 1
    Last Post: Apr 04, 2011, 2:38 PM
  3. JFunction for TreeGrid from codebehind
    By rajputamit in forum 1.x Help
    Replies: 2
    Last Post: Nov 01, 2010, 7:38 AM
  4. Update TreeGrid/Panel during AjaxEvents
    By fire3san in forum 1.x Help
    Replies: 1
    Last Post: Jul 13, 2010, 9:50 AM
  5. [CLOSED] Add panel from codebehind
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 17, 2008, 8:45 AM

Posting Permissions