VB中的MS Flex网格的多重排序 [英] multi Sorting of a ms flex grid in vb

查看:99
本文介绍了VB中的MS Flex网格的多重排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在单击列时对flex网格进行排序,如果某些行具有相同的值,则该行应在另一列上进行排序.伙计们请帮帮我.

I have to sort a flex grid on the clicking of a column,If certain rows having same values then that rows should sort on the another column. Guys plz help me out.

推荐答案

好-几件事...您不需要快速排序例程.我认为该组件具有Sort属性-查找此内容.

要对多列进行排序,可以向网格中添加一个隐藏列,该隐藏列包含要按顺序排列的,要包括在排序中的每个列中的数据的串联.

HTH
OK - couple of things... you do not need a quick sort routine. I think the component has a Sort property - look this up.

To sort on multiple columns, you can add a hidden column to the grid that contains a concatenation of data from each column that you want to include in the sort, in the field order that you want.

HTH


这篇关于VB中的MS Flex网格的多重排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆