Bonjour à tous,

Je viens solliciter votre aide sur des points cités ci dessus.

Select :
La liste n'affiche pas toutes les données.Et la pagination ne fonctionne pas.
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
44
45
46
47
48
49
50
 
 
var store = new Ext.data.GroupingStore({
		   	        reader: new Ext.data.JsonReader({fields: Mapping}),
		   	        url: 'MappingDictionaryEvent.do',
		   	        sortInfo: {field: 'cntru', direction: 'ASC'},
		   	        autoLoad: true		   	        
		   	    });
 
                  columns: [
    	                  new Ext.grid.RowNumberer(),
 
    	                  {
    				           id: 'market',
    				            header: 'Market',
    				            dataIndex: 'markt',
                                            sortable: true
    				        }
 
    	                         ,{
    				            header: 'Contract',
    				            dataIndex: 'rtru',
    				            editor: {
    				                xtype: 'textfield',
    				                maxLength: 11,
    				                allowBlank: false
    				            },
    				            sortable: true
    				        }
                                } ],
    				        // paging bar on the bottom
    				       bbar: new Ext.PagingToolbar({
    				    	    pageSize:20,
    				        	store: store,
    				            displayInfo: true,
    				            displayMsg: 'Displaying topics {0} - {1} of {2}',
    				            emptyMsg: "No topics to display",
    				            items:[
    				                '-', {
    				                pressed: true,
    				                enableToggle:true,
    				                text: 'Show Preview',
    				                cls: 'x-btn-text-icon details',
    				                toggleHandler: function(btn, pressed){
    				                    var view = grid.getView();
    				                    view.showPreview = pressed;
    				                    view.refresh();
    				                }
    				            }]
    				        }),