minimal filemanager example

Hi,
i am new to webix and try to get the filemanager control working with inline json data. but somehow it does not show files. My code is this:

var mydata = [
    {id: '1', value: 'File1.txt', type: "text", date: 1420717913, size: 4500},
    {id: '2', value: 'File2.txt', type: "text", date: 1420717913, size: 5500},
    {id: '3', value: 'File3.txt', type: "text", date: 1420717913, size: 6500}
]


webix.ready(function () {
    //object constructor
    webix.ui({
        view: "filemanager",
        id: "files"
    });
    // loading data source
    $$("files").parse(mydata);
});

what am I doing wrong?
Joachim

You need to have a root folder element

$$("files").parse([{ value:"Files", data:mydata, type: "folder" }]);

http://webix.com/snippet/ea80931b

Thank you, that worked!