Question Get DataGrid sort direction

bufer24

Active member
Joined
Mar 27, 2008
Messages
35
Programming Experience
3-5
Hi, I know how to set sorting direction on each column in datagrid programatically, but I wonder how to do the opposite: obtain the sorting direction for a particular column. Does anyone know?

Thanks
 
SortedColumn and SortOrder should give this. Watch for NullReferenceException on SortedColumn if no sort is in place.
 

Latest posts

Back
Top