Opened 6 years ago

Closed 4 years ago

#17333 closed enhancement (fixed)

cancel Changing needed for dojo.store.jsonRest

Reported by: Jean-Rubin Leonard Owned by:
Priority: undecided Milestone: 1.10
Component: Data Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description

This is related to ticket 11091, where a cancel changing functionality was baked into the jsonRestStore That functionality allows to control with more granularity what is saved to the backend. For example if we have an attribute that needs to be cascaded down a hierarchical tree, in the current state we need to change it in all children attribute and save that change to the store (through put). If a tree node has 20 children, that means 20 trips to the server. With a cancel changing option we could put only the one node, pass the ids of its children node in the data that's going to be transferred to the server and save ourselves 20 other puts.

That functionality was part of dojox.data.jsonRestStore but there is no equivalent in dojo.store.jsonRest and it would be much needed.

Thanks for seeing if this can be implemented.

Change History (1)

comment:1 Changed 4 years ago by dylan

Milestone: tbd1.10
Resolution: fixed
Status: newclosed

dojo/store has the ability to batch operations through transactions. See https://github.com/dojo/dojox/blob/master/store/transaction.js

Note: See TracTickets for help on using tickets.