How to get value from the Store by id?
此类领域的储存
fields: [
{name: "id", type: int },
{name: "name", type: String },...
我们需要获得
I try so:
var rec = Ext.StoreMgr.lookup("MyStore").getById(id);
alert(rec.data.name);
我做了什么错误?