import data from a different datastore
source | object | view from which data need to be taken |
$$("listB").data.importData($$("listA"));
Similar to the sync command, but makes one time import only.
The method does not copy the data, so item updates in both widgets will be shared. To fully copy the data from one widget into another one, you need to apply:
$$("listB").parse($$("listA").serialize());