Is it possible to rename node from “children” to any other name as per requirement of tree structure in extjs tree. I am using json for tree structure as follows:
name: '.',
children: [{
name:'Basic Ext Layouts',
expanded: false,
children:[{
name:'Absolute',
id:'absolute',
leaf:true,
},{
name:'Accordion',
id:'accordion',
leaf:true
},{
Check this http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.TreeStore-cfg-defaultRootProperty
You could look into mapping and convert properties of the field http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Field
I believe you could setup converting of all items you need using them.