开发者

Dynamically Change a Stores Model in Sencha Touch

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜