Opened 7 years ago

Closed 7 years ago

#15868 closed defect (invalid)

ObjectStoreModel: When add a new node, the Tree not update automatically

Reported by: jzw Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

hi, when I follow http://dojotoolkit.org/documentation/tutorials/1.8/store_driven_tree/ to add a new node, it cannot trigger Tree's _onItemChildrenChange。

The demo generate the item id at the client code, if I want to generate the item id at the server side, how should I write the code?

What result should be return at server side, when I insert a new node?

Change History (2)

comment:1 Changed 7 years ago by jzw

I test after #15847 fixed.

comment:2 Changed 7 years ago by bill

Resolution: invalid
Status: newclosed

This is a bug database, not a support forum. You should post questions to the dojo-interest mailing list.

I'm still revising that Tree tutorial, but what you are asking for (to generate the id on the server) is outside the scope of the tutorial. (In general terms, the client code should send the new item to the server, and then the server should notify the client that a new node was created.) Persevere may solve your problem.

Version 0, edited 7 years ago by bill (next)
Note: See TracTickets for help on using tickets.