diff --git a/components/rx/trunk/rxdb/rxdbgrid.pas b/components/rx/trunk/rxdb/rxdbgrid.pas index 6a8d532fd..a846482c2 100644 --- a/components/rx/trunk/rxdb/rxdbgrid.pas +++ b/components/rx/trunk/rxdb/rxdbgrid.pas @@ -5229,13 +5229,15 @@ begin if FFooterOptions.Active then H:=H - GetDefaultRowHeight * FFooterOptions.RowCount; + Result := H div GetDefaultRowHeight; if rdgFilter in OptionsRx then Dec(Result, 1); if dgTitles in Options then - Dec(Result, 1); + //Dec(Result, 1); + Result:=Result - RowHeights[0] div GetDefaultRowHeight; end else Result := 1;