Adds a new record to the dataset.
myStore.add({
FirstName:"Alex",
LastName:"Fgorle",
Department:"HR",
Gender: "Male"
});
//or if you use scheme
myStore.data.scheme({
FirstName:"New employee",
LastName:"",
Department:"Unknown",
Gender: "Male"
});
myStore.add({});
Back to top