Hi,
I need suggestion of how to insert data from a grid to the other Grid (Parent Grid) and if the Data is already existing in Parent Grid then it should not get inserted.Could any one help with an example.Thanks in Advance.
Regards,
Winds
1 Answer, 1 is accepted
0
Vladimir Iliev
Telerik team
answered on 28 Jun 2013, 05:22 AM
Hi Monsoon,
Basically you can achieve the desired behavior using the grid and it's dataSource API. For example you can get the given record dataItem and search for record with such ID in the parent grid using the get method. Then if such record is not available you can add it using the add method of the dataSource. Finally you can use the sync method to sync the changes with the server.
Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!