IModelListView.FreezeColumnIndices Property
Specifies whether automatic update of the List Views‘s column indices is disabled.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
By default, the column indices are updated automatically in the following cases:
- when you make changes in the business model (e.g., add a new property to the business class);
- when you modify column indices at a lower Application Model layer (for example, you modify indices in the MySolution\Module project and the layout is automatically updated in the MySolution\Blazor.Server, MySolution\Win, and MySolution\Web projects).
Set the FreezeColumnIndices
property to true
to prohibit automatic updates of column indices. In this instance, only manual modifications will be allowed.
Note
The FreezeColumnIndices
property is not available for List View nodes that you have added or cloned at the current Application Model layer. Column indices in these nodes are never updated automatically.
When you set the FreezeColumnIndices
property to true
, Model Editor copies the current values of column indices to the model differences. As a result, any changes from lower layers are overridden. When you revert the FreezeColumnIndices
back to false
the Model Editor resets differences - all current indices customizations are removed.