Greetings:
Attached to the following Tree Panel:
The Root node text does not appear in the column:
grid.png
Root Node Text not Displaying
I have the following store:
Code:
Ext.define('WebApp.store.PraFolderStore',{
extend: 'Ext.data.TreeStore',
model: 'WebApp.model.PraFolderModel',
storeId: 'prafolderstore',
lazyFill: true,
autoLoad: false,
proxy: {
type: 'ajax',
reader: 'json',
url: '/app/data/global/Global.php'
},
root: {
text: 'Client Folders',
name: 'Root',
expanded: true
}
});
Attached to the following Tree Panel:
Code:
Ext.define('WebApp.view.admin.pradata.PraFolderGrid',{
extend: 'Ext.tree.Panel',
alias: 'widget.prafoldergrid',
store: 'PraFolderStore',
rootVisible: true,
useArrows: true,
height: '100%',
columns:[{
xtype: 'treecolumn',
text: 'Client Folders',
dataIndex: 'foldername',
sortable: false,
flex: 1
}],
forceFit: true
});
The Root node text does not appear in the column:
grid.png
Any suggestions would be appreciated. Thanks!
Root Node Text not Displaying
Aucun commentaire:
Enregistrer un commentaire