sets object with default values for properties
config | object | object with default values |
$$('list').data.scheme({
name:"unknown",
sex:"male",
age:"30"
});
$$('list').add({
id:1,
name:"Alex"
});
// will add a record: name:Alex, sex:male, age:30