标签:
添加pas文件
EhLibADO.pas
EhLibCDS.pas
EhLibFireDAC.pas
设置GridEh的属性
DBGridEh1->SortLocal = true;
DBGridEh1->OptionsEh << dghAutoSortMarking;
DBGridEh1->ColumnDefValues->Title->TitleButton = True;
DBGridEh1.SortLocal := true;
DBGridEh1.OptionsEh := DBGridEh1.OptionsEh + [dghAutoSortMarking];
DBGridEh1.ColumnDefValues.Title.TitleButton := true;
标签:
原文地址:http://www.cnblogs.com/cb168/p/4294007.html