让DBGridEh不用 MemTableEh 控件来进行过滤(5.2版5.3版适合,之后不清楚)

DbUtilsEh.pas 做以下修改

procedure TDatasetFeaturesEh . FillSTFilterListDataValues(AGrid: TCustomDBGridEh; Column: TColumnEh; Items: TStrings);
begin

end ;

 

改成:

 

procedure TDatasetFeaturesEh . FillSTFilterListDataValues(AGrid: TCustomDBGridEh; Column: TColumnEh; Items: TStrings);

begin
if Assigned(AGrid . Center) then
AGrid . Center . StandardFillSTFilterListDataValues(AGrid, Column, Items);

end ;

你可能感兴趣的:(让DBGridEh不用 MemTableEh 控件来进行过滤(5.2版5.3版适合,之后不清楚))