Ok, that was dumb on my part not to look first. Sorry.
However, I looked on the examples. The difference is that I'm using
async JSON as source, and it doesn't seem to work. Here it is the JSON
response for the top level objects:
([
{
attributes: {id: 1},
state: 'closed',
data: 'Electronics',
mdata: { type: 'file', max_depth : 2 }
},
{
attributes: {id: 6},
state: 'closed',
data: 'Portable electronics',
mdata: { type: 'folder', max_depth : 2 }
}
])
In the rules attribute of the configuration I set metadata: "mdata".
Oh, and the metadata jquery plugin is loaded.
The problem is that it doesn't work at all. Even if I change the type
to file it doesn't show any difference.
Most probably I made some mistakes on the metadata part, but can't
figure it out what exactly.