How to Remove Selected iteams from grid2 to the grid1

Hi,

I am new to the DOJO Framework. I have a requirement like that.

I am fetching dataitems(store1) from the json file using IteamFileWriteStore
and IteamFileReadStore and storing these items in the EnhancedGrid G1.

<span dojoType=“dojo.data.ItemFileWriteStore” jsId=“store2”
url=“data1.json”>
</span>

<table dojoType=“dojox.grid.EnhancedGrid” jsid=“grid2” id=“grid2” store=“store2”
plugins=“{indirectSelection: true, selectable: true, dnd: true, nestedSorting: true,
loadingMessage: ‘Loading…’, errorMessage: ‘An error exists within the data.’ }”
selectionMode=“extended” class=“mainDojoTable float-left” style=“width:180px;
height:300px;”>

<thead>
<tr>
<th field=“Number” width=“35px” styles=“text-align:right;”>#</th>
<th field=“Name” width=“70px”>Account<br/>Transaction<br/>Type</th>
</tr>

</thead>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>

</table>

After Fetching the data from the grid1 of store1.

Now, I need to Remove Selected iteams in the grid2 to the grid1.
After Removing the Selected iteams from the grid2 that iteams should be Added to the grid1.

After Removing the Selected iteams From the grid2 that iteams should be Added to the grid1.

How can i achieve this one?

Please help me on this as the requirement is very urgent.

Thanks and Regards

Parandhama Reddy G