Opened 9 years ago

Closed 6 years ago

#17013 closed enhancement (patchwelcome)

add API to manipulate model in ListController

Reported by: Martin Minka Owned by: Ed Chatelain
Priority: undecided Milestone: 1.11
Component: DojoX MVC Version:
Keywords: Cc:
Blocked By: Blocking:


there are now methods to communicate with Store, but programmer has to use/know how to add, remove, update item directly in model.

Example of such code is in

// add item
ctrl.model.splice(ctrl.model.length, 0, getStateful(data));

I believe they are mostly not one-liners.

Possible methods could be (this names are more description then real API names):

  • addNew()
  • getByStoreId()
  • putByStoreId()
  • removeByStoreId()
  • etc.

Change History (1)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.11
Resolution: patchwelcome
Status: newclosed

dojox/mvc is not actively maintained. If someone wants to work on pull requests for the issues, we'll consider them.

Note: See TracTickets for help on using tickets.