原来DELPHI里面实现数据列表框的列排序是这么简单?
2004-08-20 18:47
966 查看
使用DBGRIDEH来实现,
To have possiblity to sort data in DataSet after sorting markers will be changed. You have to add dlgAutoSortMarkingEh to OptionsEh, set TColumnEh.Title.TitleButton to True for required columns, keep OnSortMarkingChanged event empty, add one of the units EhLib... (EhLibADO, EhLibBDE, EhLibCDS) to 'uses' clause of any unit of your project. Now EhLib have objects to sort data in TClientDataSet, TQuery and TADOQuery. You have to write and register you own object to sort data in DataSet that not present in this list.
EhLib Software
To have possiblity to sort data in DataSet after sorting markers will be changed. You have to add dlgAutoSortMarkingEh to OptionsEh, set TColumnEh.Title.TitleButton to True for required columns, keep OnSortMarkingChanged event empty, add one of the units EhLib... (EhLibADO, EhLibBDE, EhLibCDS) to 'uses' clause of any unit of your project. Now EhLib have objects to sort data in TClientDataSet, TQuery and TADOQuery. You have to write and register you own object to sort data in DataSet that not present in this list.
EhLib Software
相关文章推荐
- 原来2.0里实现数据绑定控件这么简单!
- JavaScript实现下拉列表框数据增加、删除、上下排序的方法
- Grid或者DataTable中数据导出为Excel原来这么简单
- 实现变色TextView及ViewPager指示器(原来可以这么简单)
- 实现一个简单的菜单程序,运行时显示"Menu:A(dd) D(elete) S(ort) Q(uit),Select one: "提示用户输入。输入A、D、S时分别提示"数据已经增加、删除、排序"
- JavaScript实现下拉列表框数据增加、删除、上下排序的方法
- python初学―-实现excel里面读数据进行排序(改进算法)
- 数据结构书中基于整数的简单排序Java实现,巩固一下基础
- 【Python入门只需20分钟】从安装到数据抓取、存储原来这么简单
- 插入排序和希尔排序-面试的希尔排序原来这么简单
- 原来这么简单就可以实现无纸化办公
- Grid或者DataTable中数据导出为Excel原来这么简单
- 原来MaxCompute还能这么玩系列(1)—— 通过Apache Zeppelin 快速实现数据可视化
- delphi 打开文件夹并定位到一个文件(使用ShellExecute时加一个select参数,原来这么简单!)
- hadoop简单实现文本数据全局排序
- Hadoop初体验——搭建hadoop简单实现文本数据全局排序
- 【数据结构与算法】【排序】简单选择排序的代码实现
- 【数据结构】单链表的倒序、删除相同结点、按值排序等简单操作用java实现
- python初学―-实现excel里面读数据进行排序
- 把一个dt内的指定列 赋值都另一个dt里面 原来这么简单?!