DataCollection

I would like to create a object with the following structure. Is it possible to do the same via datacollection?. I may add items under each id (movies, tv, person) later.
data = { ‘movie’: [], ‘tv’: [], ‘person’: []};

I like to bind the above datacollection with a multiview by specifying the key (movie, tv, person)

You can add any kind of JS objects to the data collection, but it will be counted as a single object, with a single id. So you will not be able to fetch subobjects by their id

Of course, it is possible to write a code which will iterate through collection and fetch the necessary data, but it will be less performant than a solution with separate data collections

Is this the right method to add data to DataCollection?.
http://webix.com/snippet/e95f65da
I am getting undefined.

It works actually. You need to use JSON.stringify to show the serialized data in the webix.message

http://webix.com/snippet/5718b9a9