Skip to main content

TcxCustomPivotGrid.RestoreFromIniFile(string,Boolean,Boolean) Method

Restores the pivot grid’s layout from an INI file.

Declaration

procedure RestoreFromIniFile(const AStorageName: string; ACreateChildren: Boolean = False; ADeleteChildren: Boolean = False);

Parameters

Name Type
AStorageName string
ACreateChildren Boolean
ADeleteChildren Boolean

Remarks

In the current session of the pivot grid, the RestoreFromIniFile method restores the field layout scheme, field filter, and prefilter criteria previously saved by the StoreToIniFile method.

The AStorageName parameter specifies the INI file that the pivot grid’s layout is restored from.

If the source INI file contains fields that aren’t present in the pivot grid, the grid doesn’t create these fields by default. To add these fields, set the ACreateChildren parameter to True.

Conversely, the ADeleteChildren parameter determines whether existing fields that are not present within the INI file are deleted.

See Also