mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
18 lines
426 B
JavaScript
18 lines
426 B
JavaScript
/**
|
|
* Store for the Readings
|
|
*/
|
|
Ext.define('FHEM.store.ReadingsStore', {
|
|
extend: 'Ext.data.Store',
|
|
model: 'FHEM.model.ReadingsModel',
|
|
proxy: {
|
|
type: 'ajax',
|
|
method: 'POST',
|
|
url: '', //gets set by controller after device has been selected
|
|
reader: {
|
|
type: 'json',
|
|
root: 'data',
|
|
totalProperty: 'totalCount'
|
|
}
|
|
},
|
|
autoLoad: false
|
|
}); |