How to Add Selected iteams from grid1 to grid2

Hi,

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

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=“store1”
url=“data1.json”>
</span>

<table dojoType=“dojox.grid.EnhancedGrid” jsid=“grid1” id=“grid1” store=“store1”
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 Add Selected iteams in the grid1 to the grid2.

After Adding the Selected iteams to the grid2 that iteams should be Removed from 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