How to retrieve JSON Data Array from ExtJS Store

后端 未结 15 2178
忘掉有多难
忘掉有多难 2020-12-04 17:04

Is there a method allowing me to return my stored data in an ExtJS Grid Panel exactly the way I loaded it using:

var data = [\"value1\", \"value2\"]
Store.lo         


        
15条回答
  •  天涯浪人
    2020-12-04 17:29

    Store.getRange() seems to be exactly what you are searching for. It will return you Ext.data.Record[] - array of records. If no arguments is passed, all the records are returned.

提交回复
热议问题