comparison app/model/ProbeList.js @ 670:2927abe98b66

totalCountProperty
author Dustin Demuth <dustin@intevation.de>
date Thu, 19 Mar 2015 15:44:17 +0100
parents 0c1a9d7dd1e9
children e44070aa45d2
comparison
equal deleted inserted replaced
667:c34e65346572 670:2927abe98b66
16 fields: [{ 16 fields: [{
17 name: 'readonly' 17 name: 'readonly'
18 }], 18 }],
19 19
20 idProperty: 'id', 20 idProperty: 'id',
21 totalProperty: 'totalCount',
22 21
23 proxy: { 22 proxy: {
24 type: 'rest', 23 type: 'rest',
25 url: 'lada-server/probe', 24 url: 'lada-server/probe',
26 reader: { 25 reader: {
27 type: 'json', 26 type: 'json',
28 root: 'data' 27 root: 'data',
28 totalProperty: 'totalCount'
29 } 29 }
30 } 30 }
31 }); 31 });

http://lada.wald.intevation.org