Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Question: Best practice for serverside update of multiple selected records

$
0
0
Hello Isomorphic,

what is the suggested approach if I want to change several selected ListGrid records on the serverside?
I could do
1) RPCManager.startQueue();
2) Iterate over selected records and generate n DSRequests
3) RPCManager.sendQueue();

like in http://www.smartclient.com/smartgwte...ctions_queuing.

But this would mean n UPDATE-SQLs on the serverside.
I'd like to transfer the PKs of the selected records in one request to the server and work with them there inside of a single SQL with Criterion(PK, inSet, <mySelectedRecords>).

How is this best done?

Thank you and best regards,
Blama

Viewing all articles
Browse latest Browse all 4756

Trending Articles