Bonjour,
je débute juste avec TAdvStringGrid, avec toutes ses propriétés c'est plutôt perturbant

en tout cas je me sers énormément du manuel (bien fait)
TAdvStringGrid Developers Guide
tu devrais trouver les indications nécessaires à partir de la page 23
1 2 3 4 5 6 7 8 9 10
|
Example: using QSortIndexed
Grid.SortIndexes.Clear;
// first column to sort is column 5 in ascending order
Grid.SortIndexes.AddIndex(5,true);
// second column to sort is column 2 in descending order
Grid.SortIndexes.AddIndex(2,false);
// third column to sort is column 4 in ascending order
Grid.SortIndexes.Add(4,true);
Grid.QSortIndexed; |
Partager