adds an item to the store
obj | object | the item object |
index | number | the item position |
id | the item id |
dtable.add({
name:"Best film ever"
rank:1
});
Object can contain any properties:
$$('mygrid').add({
some:"some string",
other:123,
complex:{
contain:"any",
content:"inside"
}
}, 0);