Hi,
I'm trying to transfer multiple records from one databound listgrid to another. Transferring one works fine. The DataSource.executeAdd method, of the DataSource bound to the target ListGrid, receives the record and sends it to the server.
The problem is when I try to transfer multiple records at the same time. As my executeAdd method (above) converts the request.getData() into one ListGridRecord, rather than an array. It's probably simple, but I haven't been able to find how to convert this JavaScriptObject into a ListGridRecord[]. Does anybody know how to do this?
Thanks,
Alan
I'm trying to transfer multiple records from one databound listgrid to another. Transferring one works fine. The DataSource.executeAdd method, of the DataSource bound to the target ListGrid, receives the record and sends it to the server.
Code:
protected void executeAdd(final String requestId, final DSRequest request, final DSResponse response) { JavaScriptObject data = request.getData(); ListGridRecord rec = new ListGridRecord(data); ......
Thanks,
Alan
Comment