If I understand you correctly, you are trying to page the "from" dataSource to the correct page, where the desired data item is, then take the item and add it to the "to" dataSource. However, you are missing the fact that the page change executes an asynchronous
remote request. In other words, the last three lines of code are executed too early.
Probably a more effective approach would be to obtain all desired data items with a single request via filtering.
You will have to take into consideration the time needed to fetch all items, so the copying should occur in the "to" datasource's change
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI