Skip to main content
Table of Contents

TTMSFNCDataGridConditionalFormatting.InvalidateStats Method

Discards cached per-rule statistics and cached expression results so they are recomputed on next use.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridConditionalFormatting

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
procedure InvalidateStats;
void __fastcall InvalidateStats();

Remarks

The grid calls this itself whenever a cell value is written, rows are sorted or filtered, values are pasted, or the rules change. Call it yourself only when the data the grid reads changes without passing through the grid, since the engine has no other way to detect that its cached statistics are stale.