DBGrideh实现自动排序

1.在optioneh中设置:
AutosortMarking:=True

2.设置DbGridEh的属性:(不一定总要设置,与使用的数据连接有关)
sortlocal:=True;

3.uses 单元
Ado------ehlibADo
TclientData------ehlibCDS
BDE ---------ehlibBDE

4.Column属性
TitleButton:=True
来自网络转载

posted @ 2009-04-30 19:34  kaka9  阅读(5413)  评论(0编辑  收藏  举报