PDA

View Full Version : TreeGrid not showing up in IE8



kaushik914
11 Dec 2012, 12:59 PM
I have a extjs3 TreeGrid which works with Firefox but not with IE. The code is below

Tree:


var treePanel = new Ext.ux.tree.TreeGrid({
title: 'Core Team Projects',
width: 390,
height: 620,
enableDD: true,
draggable: false,
autoScroll: true,
containerScroll: true,
columns:[{ header: 'Task', dataIndex: 'text', width: 350 }],
dataUrl: ResolveUrl('/Home/getMetrics')

});

Json that is returned:

[{
"text": "Summary"
,"leaf": false,
"id": 0,
"expanded": true
"children": [{
"text": "Standardized Per Capita Costs",
"leaf": true,
"id": 46,
"children": [ ],
"expanded": false


},{

"text": "Standardized Risk-Adjusted Per Capita Costs",
"leaf": true,
"id": 47,
"children": [ ],
"expanded": false


},{

"text": "IP Standardized Costs as % of Total Standardized Costs",
"leaf": true,
"id": 53,
"children": [ ],
"expanded": false


},{

"text": "IP Per Capita Standardized Costs",
"leaf": true,
"id": 54,
"children": [ ],
"expanded": false


},{

"text": "IP Per User Standardized Costs",
"leaf": true,
"id": 55,
"children": [ ],
"expanded": false


},{

"text": "% of Beneficiaries Using IP",
"leaf": true,
"id": 57,
"children": [ ],
"expanded": false


},{

"text": "IP Covered Stays Per 1000 Beneficiaries",
"leaf": true,
"id": 58,
"children": [ ],
"expanded": false


},{

"text": "IP Covered Days Per 1000 Beneficiaries",
"leaf": true,
"id": 59,
"children": [ ],
"expanded": false


},{

"text": "PAC Per User Actual Costs",
"leaf": true,
"id": 105,
"children": [ ],
"expanded": false


}]

}]

Please tell me what I am doing wrong or if I am missing any important property. I followed the example at http://dev.sencha.com/deploy/ext-3.3.1/examples/treegrid/treegrid.html

mitchellsimoens
11 Dec 2012, 1:18 PM
Moved to Ext JS 3 forum.