Results 1 to 4 of 4

Thread: panel.Tree: reconfigure error.

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    20
    Vote Rating
    0
      0  

    Default panel.Tree: reconfigure error.

    Hi. Can someone please help me with my problem. I am using tree panel - tree grid. I want to change store dinamicaly, but I always get the same error.

    RowModel.js:398
    Uncaught TypeError: Object [object Object] has no method 'indexOf'

    Code:
    ...
    listeners: {
    	click: function(button, e, options) 
    	{
    		tree.reconfigure(issuesStore); // - does't work with columns either
    		issuesStore.load({
    			params:{
    				project_id: 2 // just for testing
    			}
    		}); 
    	}
    }
    ...
    Is this a bug?

  2. #2
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,048
    Vote Rating
    183
      0  

    Default

    Yes it's a bug, still there in 4.0.5 - you should report it in the Bugs forum section so Sencha can fix it

  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2009
    Posts
    16
    Vote Rating
    0
      0  

    Default

    I have the same problem here.

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    3
    Vote Rating
    0
      0  

    Lightbulb

    Does anyone know of a way to circumvent this bug?

Posting Permissions

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