开发者

Dynamically Change a Stores Model in Sencha Touch

开发者 https://www.devze.com 2023-02-07 17:00 出处:网络
Is it possible to dynamically change a JsonStore\'s model in Sencha Touch, I\'ve tried insert() and add() but those seem to pertain to adding records to the st开发者_运维知识库ore, not changing the mo

Is it possible to dynamically change a JsonStore's model in Sencha Touch, I've tried insert() and add() but those seem to pertain to adding records to the st开发者_运维知识库ore, not changing the model reference.

I'm using the 1.0 release.


No you can't, just create a new store. Note that if you're changing the model it's entirely possible you want a new proxy as well anyway.

0

精彩评论

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