json filter

Hello,

do you know how to filter a json by id ? For instance in my datatable view I would like to get just data with id=1 and so just get { id:1, title:“The Shawshank Redemption”, year:1994, votes:678790 } to display it.

var json_data = [
{ id:1, title:“The Shawshank Redemption”, year:1994, votes:678790 },
{ id:2, title:“The Godfather”, year:1972, votes:511495 }
];

webix.ui({
view:“datatable”,
columns:[…],
data: json_data
});

regards

$$(“myDatatable”).filter("#id#", “1”);