|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Hi,
I have an array of record objects in memory which I want to (1) load into a store, and (2) insert records into a position in the store. This is not a direct JsonReader response from the server. I can see that with Record.create() I can create my mapping. And with the Store class, there is a data config and a reader config. My question is, do I just use a JsonReader for the appropriate Record mapping, but with a meaningless "root", and then load a new Ext.data.Store object? Supposedly the 'data' config of Store is an array. Andy |
|
#2
|
||||
|
||||
|
You can use SimpleStore if you have data in a memory array. See this example source code: http://examples.extjs.eu/?ex=dyntab
__________________
Jozef Sakalos, aka Saki A lot of valuable info at: Saki's Extensions and Plugins Saki's Extensions and Plugins Docs Saki's Examples, Latest: Grid in Card Layout Saki's Blog, Featured: Writing a Big Application in Ext, Latest: What the hell is mon and mun? |
![]() |
| Thread Tools | |
|
|