Multiple column Sort on Ultrawingrid

2009. 3. 9. 21:25 개발언어/3rd Part

Multiple column Sort on Ultrawingrid

 There are two ways you could go about this.

1) You could trap the BeforeSortChange event and use the SortedColumns.Add method to sort each column. 

2) You could use the SortComparer property on the column. You would create a class that implements IComparer and you could write code in the Compare method to examine the values in all of the columns to sort in the order you want. 

멀티컬럼을 sort하려니 이렇게 하면 된단다.
아직 구현한 소스는 없다 -ㅅ-;;