开发者

UltraGrid with Custom Sort

I have the following code I'd like to be used to custom sort my one column:

char[] yourOriginalValues = new [] { '!', 'A', 'B', 'E', '$', 'N' };

IEnumerable<char> result = 
       yourOriginalValues.Where(c => Char.IsLetterOrDigit(c))
            .OrderBy(c => c)
            .Concat(yourOriginalValues.Where(c开发者_运维问答 => !Char.IsLetterOrDigit(c)));

How would I go about converting this to a custom sort order for WinUltraGrid?

Thanks!


See Infragistics forum on this

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜