Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 527 → Rev 528

/trunk/src/org/tela_botanica/client/vues/PersonneListeVue.java
113,7 → 113,6
lstColumns.add(ccPrenom);
grille = new Grid<Personne>( new ListStore<Personne>(),new ColumnModel(lstColumns));
GridSelectionModel<Personne> gsmSelectionGrille = new GridSelectionModel<Personne>();
gsmSelectionGrille.addSelectionChangedListener(new SelectionChangedListener<Personne>() {
public void selectionChanged(SelectionChangedEvent<Personne> event) {
126,6 → 125,7
grille.setSelectionModel(gsmSelectionGrille);
grille.setAutoExpandColumn("fmt_nom_complet");
add(grille);
setLayout(new FitLayout());
}
154,7 → 154,8
store.sort("fmt_nom_complet", SortDir.ASC);
if (store.getCount() > 0) {
grille.getSelectionModel().select(0, true);
//FIXME : la selection d'une ligne ne mets pas le style voulu (ligne sélectionnée)
grille.getSelectionModel().select(store.getAt(0), true);
}
} else if (nouvellesDonnees instanceof Information) {