add item to grid

Hello,

I have this grid code:

{ id:“grid”,
view:“grid”,

						header:true, //in the second column we create grid
						fields:[{ 	id:"Name", // 'fields' parameter lets to define grid cols
									width:100,// the width of the first grid col
									label: "Name", // the name of the first grid col
									template:"#name#" // 'template' specifies data which will be presented in the col
								},
								{ 	id:"email",// the second col of the grid
								    label: "email",
									template:"#email#",
							         width:200,
						}],
						datatype:"xml", // the type of the data by which we will fill grid up
						url: "myxml.xml" // the relative path to our xml file
				}

How I can add manually a new item to “name” and “email” fields ?

function addfield()
{
var name=“Robert”;
var email="robert@dmx.com";

??

}

THANK YOU!

Something like next can be used
$$(‘grid’).add({ name:“Robert”, email:"robert@dmx.com" });