This is a migrated thread and some comments may be shown as answers.

Move whole data from one grid to another

3 Answers 572 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Deep
Top achievements
Rank 1
Deep asked on 10 May 2012, 12:10 PM
Hi,
I want to move the data that are checked in the grid to another grid when i clicked the button and if it is check all all then i have to move all the data from one gird to another and empty the other grid please find the screen shots below

Very urgent

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Ricardo
Top achievements
Rank 1
answered on 10 May 2012, 02:17 PM
hi deep
check out this link
not if you serve
http://www.kendoui.com/forums/ui/grid/copy-some-selected-rows-from-one-grid-to-another-grid.aspx
regards!!
0
Deep
Top achievements
Rank 1
answered on 11 May 2012, 11:34 AM
For my grid following actions has to be done for one grid.
1)If is select the check box in the header and click the button all the data has to move to destination grid and source grid should get empty.
2)if selected all the check box and in the grid if he unselect any check box in grid that row should remain in source and renaming data should be moved to destination grid
3)if user has selected one row in first page and he moves to second page and there he selected another row and click the button those two rows has to move to another grid.
Please find the attachments for more info

please respond as soon as possible
0
Ricardo
Top achievements
Rank 1
answered on 11 May 2012, 02:42 PM
 hi deep
you can show your data with method data()
http://www.kendoui.com/forums/ui/grid/all-items-in-a-grid.aspx
methods for grid
http://www.kendoui.com/documentation/framework/datasource/methods.aspx#data

1 if apply checkbox you can send result for data()
and paste in destination grid
or do you send a method line by line

2 you can send line for line and you have more control  under destination grid.
and only not send the line with unchecked on the grid or used method filter on datasource.

3 send line by line or data() with filter

to know which are activated checkbox you could bring them a value and take it like a flag and put the button a method that generates actions according to the flag is activated

regards!!
Tags
Grid
Asked by
Deep
Top achievements
Rank 1
Answers by
Ricardo
Top achievements
Rank 1
Deep
Top achievements
Rank 1
Share this question
or