Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Performing multiple updates at once

    Using SmartGWT Pro 3.0

    We're using a custom data source, with custom fetch and update methods. Now, we want to update many records at once, records we choose by using criteria. I know about startQueue() and endQueue(), but that just replays a bunch of update() requests on the server. I can do some optimizations on the server if I know I'm getting multiple requests at once.

    We've tried setting the update operation to allowMultiUpdate and then trying to read criteria from the DSRequest we see in the update method. That doesn't seem to work. On the client, you can't have a DSRequest with both criteria and data, so we have no way of sending to the server what the criteria are and what the update is supposed to do. We can only send one or the other, which in not very useful.

    How do we actually update multiple records?
Working...
X