Footer works not ok when scrollbar is not visible

See pictures attached. I set the FNCGrid to diplay the count of records in the footer.
01 is ok - there are a lot more rows than visible.
02 is not ok - see the footrer displaying data instead
03 is the result when I resite 02 so taht not all rows are visible.

The grid is connected to a ClientDataSet. Whenever the CDS is populated this is executed:
ClientDataSet1.Active := true;
TMSFNCGrid1.ColumnCalculation[1] := ccCount;
TMSFNCGrid1.UpdateCalculations;

Am I missing something?



The data is not living in memory, it is actually dynamically retrieved. Please use TMSFNCGridDatabaseAdapter1.LoadAllDataAndDisconnect; before doing any grid manipulations.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.