开发者

Can't add same item to DataGrid twice, even if I delete the item before adding it again

开发者 https://www.devze.com 2023-03-06 01:44 出处:网络
If I add an item to my DataGrid, then delete it, then try to add it again, I get this error: assertion failed in ItemFileWriteStore

If I add an item to my DataGrid, then delete it, then try to add it again, I get this error:

assertion failed in ItemFileWriteStore

Any idea why this could be happe开发者_如何学Pythonning?

I'm using Dojo 1.5.


if you try to add an item that was removed from a store without calling save() on the store you'll get this error. Stores have an 'un-delete' feature. check the ItemFileWriteStore API for isDirty() and save().


no two items in the store can have the same identifier at any point of time..

0

精彩评论

暂无评论...
验证码 换一张
取 消