My tree is shown correctly when using rootVisible: false. However setting it to true leads to no tree display and no error.
My aim is to show a root node that I can define as / or Root. How to achieve this?
My solution:
Putting rootVisible to true and adding this to my tree store:
root: {
id : '/',
expanded : false,
name : '/',
type : 'folder',
path : '/',
root : true
}
The name for the Rootnode is
Rootby default. But you can specify any other name.If this don’t help please post more code from your data send by the server, TreeStore, reader.