c1flexgrid 关于sort排序
With flexgrid1
If .MouseRow <> 0 Then Exit Sub
If .ColSort(.Col) = flexSortGenericDescending Or .ColSort(.Col) = flexSortNone Then
.ColSort(.Col) = flexSortGenericAscending
Else
.ColSort(.Col) = flexSortGenericDescending
End If
.Sort = flexSortUseColSort
End With
请问,对于上面的代码中的.Sort = flexSortUseColSort 不太理解,上面已经对一个列进行了排序,但是为什么要用.Sort = flexSortUseColSort这段代码。
请详细的解释一下,谢谢各位大侠了