Bonjour à tous,

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
var stoTicketsClos = new Ext.data.Store({
		storeId: 'stoTicketsClos',
		url: 'data/incidents/getTicketsBackbone.php',
		remoteSort: true,
		autoLoad: true,
		method: 'POST',
		baseParams: {
 
 
			rechDate:		'',
			rechNumero:		'',
			rechCriticite:	'',
			rechPop:		'',
			rechStatut:		'',
			statut: 'C',
			depts: 	listeDepts,
			sort:	'',
			dir:	'ASC',
			start:	0,
			limit:	20,
			total:	0
		},
		reader: 
			new Ext.data.JsonReader({
				totalProperty: 'total',
				root: 'ticket'
			},
			new Ext.data.Record.create([
				{name: 'noAppel',		type: 'int'}, 
				{name: 'dateAppel',		type: 'date'}, 
				{name: 'dateCloture',	type: 'date'}, 
				{name: 'statut',		type: 'string'},
				{name: 'technologie',	type: 'string'},
				{name: 'POP',			type: 'string'},
				{name: 'dept', 			type: 'string'},
				{name: 'Criticite',		type: 'string'},
				{name: 'signalisation',	type: 'string'},
				{name: 'Symptome',		type: 'string'},
				{name: 'x',				type: 'decimal'},
				{name: 'y',				type: 'decimal'} 
			])
		)	
	});
Je n'arrive pas à récuperer les valeurs de mes x et y.
Je n'ai pas de souci pour les insérer dans un gridPanel mais pour simplement récupérer les valeurs impossible.

/discuss