When add a new tree item to a treestore and sync it. When this new item is posted to server it will recieve a new id. But that seems to be a problem!?
"Cannot read property 'getAttribute' of null"
Response with updated id
Any tips on how to sove this problem
Treestore and generate a new item id on server
"Cannot read property 'getAttribute' of null"
Post Json-data to the server
Code:
[{"text":"My new item","leaf":true,"id":"DSA.model.TreeItem-38","checked":false,"parentId":"Fav22"}]
Response with updated id
Code:
[{"text":"My new item","leaf":true,"id":"Fav23","checked":false,"parentId":"Fav22"}]
Any tips on how to sove this problem
Treestore and generate a new item id on server
Aucun commentaire:
Enregistrer un commentaire