View Full Version : TreePanel appending id variable to querystring

8 Mar 2013, 1:11 PM
I'm using the json proxy to get a tree node for my TreePanel. The problem is that the proxy adds the querystrings variables id and root. Which makes my REST API choke.


I tried to set rootVisible to true, but then the proxy request does not happen. Is there anyway I can stop the proxy from appending the id to the querystring?

This is my code:

Ext.define('Tree', {
extend: 'Ext.data.Model',
fields: ['id', 'name']

var store = Ext.create('Ext.data.TreeStore', {
model: 'Tree',
proxy: {
type: 'ajax',
url : '/api/menu/',
reader: {
type: 'json'

var tree = Ext.create('Ext.tree.Panel', {
store: store,
rootVisible: false,

10 Mar 2013, 8:53 PM
This was fixed in 4.1.3 and 4.2