Salut,
J'ai un souci concernant le tri d'un tableau. Le tri s'apparaît par défaut.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 MemoryProxy proxy = new MemoryProxy(dataLibelles); ArrayReader reader = new ArrayReader(recordDef); store = new Store(proxy, reader); store.load(); chargerBottomToolbar(); listeLibelles = new EditorGridPanel(); listeLibelles.setStripeRows(true); listeLibelles.setHeight(400); listeLibelles.setWidth(800); listeLibelles.setColumnModel(columnModel); listeLibelles.setStore(store); listeLibelles.setBottomToolbar(bottomToolbar);
Pouvez vous m'aider svp à désactiver le tri automatique du tableau.
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 ColumnConfig colLabelFr = new ColumnConfig(super.getLabels().get( LabelConstante.BO_LIBELLES_GRID_LABEL_FR), "labelfr", 250); ColumnConfig colLabelEn = new ColumnConfig(super.getLabels().get( LabelConstante.BO_LIBELLES_GRID_LABEL_ENG), "labelEng", 250); colLabelFr.setEditor(new GridEditor(new TextField())); colLabelEn.setEditor(new GridEditor(new TextField())); this.columns = new BaseColumnConfig[] { new ColumnConfig(super.getLabels().get( LabelConstante.BO_LIBELLES_GRID_LABEL_KEY), "label_key", 250, true, null, "label_key"), colLabelFr, colLabelEn };
Partager