Skip to main content

TcxCustomPivotGrid.StoreToIniFile(string,Boolean) Method

Saves the pivot grid’s layout in an INI file.

Declaration

procedure StoreToIniFile(const AStorageName: string; AReCreate: Boolean = True);

Parameters

Name Type
AStorageName string
AReCreate Boolean

Remarks

Use this method to persist the pivot grid’s layout across multiple sessions. The information to be stored includes the field layout scheme, field filters, and the currently applied prefilter criteria. A persistent storage for the pivot grid’s layout is the AStorageName file.

The AStorageName parameter specifies the INI file where the pivot grid’s layout is stored.

The AReCreate parameter specifies whether the INI file is overwritten. Set this parameter to False, to store multiple layouts in a single file.

To restore the layout saved to the file, use the RestoreFromIniFile method.

See Also