It's so frustrating when all that google turns up are unanswered forum
posts...

Short answer: Programmatically set the sort criteria on the table model.
For example in the getter that returns the model:

        SortableModel model = new SortableModel(queuedTags);
        List<SortCriterion> sortCriteria = new ArrayList<SortCriterion>();
        sortCriteria.add(new SortCriterion("part.partSet.partSetCreated", 
false));
        model.setSortCriteria(sortCriteria);
        return model;


[EMAIL PROTECTED] wrote:



Hi,

Is there a way to setup the arrow symbols shown when a user sorts a table's
column
before any user interaction i.e. to show an initial sorting state e.g. a
descending sort order
symbol on a column when the table is sorted descendingly according to that
column?

Thanks,Wolfgang.

PTA Programmier-Technische Arbeiten GmbH
Seckenheimer Str. 65-67, 68165 Mannheim
Amtsgericht Mannheim, HRB 1139
USt-IdNr.: DE 143 839 368
Geschäftsführer:
Dipl.-Ing. Peter Fischer
Dr. Harald W. Busch
Dipl.-Kfm. Knut Fischer

**********************************************************************
http://www.pta.de
Mit 1544 Erfahrungsberichten aus 39 Jahren erfolgreicher Projektarbeit!
**********************************************************************


Reply via email to