Opened 6 years ago

Last modified 2 years ago

#16251 assigned enhancement

mobile/_StoreMixin should support "includeAllUpdates"

Reported by: Damien Mandrioli Owned by: Patrick Ruzand
Priority: undecided Milestone: 1.15
Component: DojoX Mobile Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description

The 'observe' method of Store has the includeAllUpdates parameter that allows to monitor not only modification of the dataset but also modification of its items. By default this parameter is false.

_StoreMixin does not use includeAllUpdates when calling 'observe', items modification can't be monitored.

To let users choose what kind of update to monitor, a parameter ' includeAllUpdates' could be added to the _StoreMixin class.

Change History (4)

comment:1 Changed 6 years ago by Damien Mandrioli

API documentation: Store.observe(function, includeAllUpdates)

includeAllUpdates: This indicates whether or not to include object updates that do not affect the inclusion or order of the object in the query results. By default this is false, which means that if any object is updated in such a way that it remains in the result set and it's position in result sets is not affected, then the listener will not be fired.

comment:2 Changed 6 years ago by Patrick Ruzand

Owner: changed from Eric Durocher to Patrick Ruzand
Status: newassigned

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:4 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.