如下: var _data = { identifier : 'id', items : _items //JSON格式的数据源 }; this.store = new dojo.data.ItemFileWriteStore({ data : _data }); this.dataGrid.setStore(this.store);