Check Box in Datagrid 2

Hi All, I have created 2 entities with same attributes, In Entity 1 there is one Attribute called ‘Attribute1’. It is a boolean type. In Datagrid2 All objects of entity 1 will shown there. In that i given check box for ‘attribute1’ . I have to select some of objects from entity1, store it in entity2 by using that check box.  On click of check box whatever the  objects i selected will be stored in entity 2. I tried with some logic it didn’t work. How to achieve this ?  
0 answers