Tree grid view following javascript come during page load

  1. #1

    Tree grid view following javascript come during page load

    I am using Tree gridview

    <ext:TreeGrid ID="resourceTree" runat="server" Width="500" Height="600" NoLeafIcon="true"
    AutoScroll="true" AutoWidth="true">
    </ext:TreeGrid>


    following error comes at page load

    initColumns : function () {
    var cs = this.columns,
    len = cs.length,
    columns = [],
    i, c;

    Microsoft JScript runtime error: 'length' is null or not an object
  2. #2
    Hi,

    You have to define Columns for TreeGrid
  3. #3
    Thanks.Solved :)

Similar Threads

  1. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM
  2. Switch from tree view to accordian view?
    By jaydwire2 in forum 1.x Help
    Replies: 1
    Last Post: Sep 18, 2009, 4:31 PM
  3. [CLOSED] How to deselect the focus for the tree node in page load?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 15, 2009, 10:02 AM
  4. [CLOSED] How to set the focus for the tree node in page load?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 15, 2009, 8:43 AM
  5. Open a window and load a page with Javascript
    By Neeraj Sharma in forum 1.x Help
    Replies: 2
    Last Post: Jan 17, 2009, 1:12 AM

Posting Permissions