How to select items in dynamic loading mode

I constructed a dataview and a grid, which can switch between each other.
The dataset is big, so I used dynamic loading.
I selected some rows in the grid, then I switched to the dataview and hope the corresponding selected items be selected. I use dataview.load(…,function(){}) to select the items, however, maybe it is for the dynamic loading, the items loaded later were not selected.
So, could the items be selected, even if they are not loaded and showing “template_loading”?

Dataview may show and select only loaded items. Therefore, if an item is not loaded yet, you need to load the set of items that will include the necessary item and then call show(id) and select(id) methods.

For example in our dhtmlxDataView/samples/01_initialization/01_dynamic_loading.html sample item ids depend on their index. Therefore, it is rather easy to calculate posStart parameter that is necessary for the dynamic loading. In this sample the following approach can be used to show an item:

function showItem(id){ var pos = id-1; if(data.get(id)){ data.show(id); data.select(id); } else{ data.load("php/data.php?count=36&posStart="+pos,function(){ data.show(id); data.select(id); }); } }