sachintaware
12 Apr 2012, 4:58 AM
Hello
I have an application in extjs 4 and it works fine in chrome and mozilla(for the view).But in IE,the tree panel scroll bar is displayed on the opposite side and the view is disturbed.
This is the tree panel.
/*****************Tree store having list of requirements and properties****************/
var storetree = Ext.create('Ext.data.TreeStore', {
autoload:true,
root: {
text:'Requirements',
expanded: true
},
/*
* Ajax Proxy set for the store
* API-gives the URL from where the JSON is returned for the store
*/
proxy: {
type: 'ajax',
api: {
read : 'requirements/view.action'
//read:'tree.json'
},
/**Reads the Json returned by the server**/
reader: {
type: 'json',
root: 'treedata'
}
}
});
var treePan=Ext.create('Ext.tree.Panel', {
id:'candTree',
renderTo: 'tree',
title: 'Navigation Menu',
width: 300,
height: 420,
useArrows:true,
frame: true,
store:storetree
});
How can I fix it?
Thanks
I have an application in extjs 4 and it works fine in chrome and mozilla(for the view).But in IE,the tree panel scroll bar is displayed on the opposite side and the view is disturbed.
This is the tree panel.
/*****************Tree store having list of requirements and properties****************/
var storetree = Ext.create('Ext.data.TreeStore', {
autoload:true,
root: {
text:'Requirements',
expanded: true
},
/*
* Ajax Proxy set for the store
* API-gives the URL from where the JSON is returned for the store
*/
proxy: {
type: 'ajax',
api: {
read : 'requirements/view.action'
//read:'tree.json'
},
/**Reads the Json returned by the server**/
reader: {
type: 'json',
root: 'treedata'
}
}
});
var treePan=Ext.create('Ext.tree.Panel', {
id:'candTree',
renderTo: 'tree',
title: 'Navigation Menu',
width: 300,
height: 420,
useArrows:true,
frame: true,
store:storetree
});
How can I fix it?
Thanks