ExtJs Store.save()?

ぃ、小莉子 提交于 2019-12-05 04:17:35

Ext.data.Store.commitChanges() is a client-side-only method. It does not communicate with the server in any form. The method is used to reset the modification status of the store's records and persist their changes (on the client-side only).

Ext.data.Store.save() is the method that actually uses the configured connection to talk to your server-side application. To be able to provide more information you'd need to post some code snippets.

Config option autoSync is available for stores since ExtJS 4.

I am not familiar with C#, but I would imagine you would need to send your stores data as a JSON Object to your C# cost with some kind of Ajax request

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!