PDA

View Full Version : Sorting DataGrid-column


Pipan
10-28-2007, 07:42 AM
A quick question.

Ive been trying to sort my datagrid after a column with points.
The headers are disabled because I dont want the user to change sort-column.

So I need to set this from the code...somehow.

To my suprise sortIndex is readonly!? Same with sortDescending.
And I really cant find any other methods
to set sortoptions.

All I want is to set sortcolumn and direction, is it really that hard?