RxDBGrid - try fix error on filter records in table and calc sum in footer row

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2014-09-22 11:28:22 +00:00
parent 7df1352fd1
commit a69f0fbdbc

View File

@ -4120,8 +4120,13 @@ begin
Value := FFilterListEditor.Text; Value := FFilterListEditor.Text;
end; end;
DataSource.DataSet.Refresh; // DataSource.DataSet.Refresh;
DataSource.DataSet.DisableControls;
DataSource.DataSet.Filtered:=false;
DataSource.DataSet.Filtered:=true;
// DataSource.DataSet.First;
CalcStatTotals; CalcStatTotals;
DataSource.DataSet.EnableControls;
if Assigned(FOnFiltred) then if Assigned(FOnFiltred) then
FOnFiltred(Self); FOnFiltred(Self);