Back to Devexpress

TcxGridStorageOption Enum

vcl-cxgridcustomview-deefc485.md

latest5.6 KB
Original Source

TcxGridStorageOption Enum

Enumerates flags that correspond to individual grid View settings and user interaction information stored in a file, stream, or system registry.

Declaration

delphi
TcxGridStorageOption = (
    gsoUseFilter,
    gsoUseSummary,
    gsoUseDataViewState,
    gsoExpanded,
    gsoFocusedRecord,
    gsoFocusedItem,
    gsoSelected,
    gsoTopRecord,
    gsoFocusedView,
    gsoDetail
);

Members

NameDescription
gsoUseFilter

Stores/restores the data filter state.

Note

gsoUseFilter and gsoUseSummary flags have no effect on the following Store~/Restore~ calls:

| | gsoUseSummary |

Stores/restores summaries.

| | gsoUseDataViewState |

Use this flag with gsoDetail, gsoExpanded, gsoFocusedItem, gsoFocusedRecord, gsoFocusedView, gsoSelected, and gsoTopRecord in the following Store~/Restore~ calls:

| | gsoExpanded |

Stores/restores expanded states for records in a master grid View. Applicable only to master-detail relationships.

| | gsoFocusedRecord |

Stores/restores the focus position at a specific record.

Related flags: gsoFocusedView and gsoFocusedItem.

| | gsoFocusedItem |

Stores/restores the focus position at a specific data item.

Related flags: gsoFocusedRecord and gsoFocusedView.

| | gsoSelected |

Stores/restores record selection.

| | gsoTopRecord |

Stores/restores the scroll position (the record at the top control border).

| | gsoFocusedView |

Stores/restores information about the View if it has focus.

You can add gsoFocusedRecord and gsoFocusedItem flags to store additional information on the current focus position.

| | gsoDetail |

Stores/restores user interaction states in detail grid Views. Applicable only to master-detail grid View relationships.

|

Remarks

The TcxGridStorageOption type enumerates flags that correspond to individual grid View settings and user interaction states (selection, focus, the scroll position, etc.) in a grid View.

Direct TcxGridStorageOption Type References

The following public APIs reference the TcxGridStorageOption type:

cxGridStoreAllDataViewStatesSpecifies a set of flags that correspond to all user interaction states in a grid View.TcxGridStorageOptionsA set of flags that correspond to individual grid View settings and user interaction information stored in a file, stream, or system registry. See Also

TcxTreeListStorageOption Type

cxGridCustomView Unit