ColumnsListEditor.PreventServerSideOperationsForNonPersistentMembers Property

Specifies whether server-side operations are prevented for non-persistent properties in the Server and InstantFeedback List View Data Access Modes, or not.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public bool PreventServerSideOperationsForNonPersistentMembers { get; set; }
Public Property PreventServerSideOperationsForNonPersistentMembers As Boolean

Property Value

Type Description
Boolean

true if server-side operations are prevented for non-persistent properties in the Server and Instant Feedback List View data access modes, otherwise false. The default value is true.

Remarks

In server modes, grid controls perform operations like sorting, grouping and filtering on the data store side to guarantee the best performance. Thus, columns bound to non-persistent properties cannot be used for such server-based operations. The PreventServerSideOperationsForNonPersistentMembers property allows you to disable all server-based operations for non-persistent properties in the ASP.NET ASPxGridListEditor and WinForms GridListEditor editors.

If this property is set to true, the following behavior is expected.

  • The grid's Find Panel does not take non-persistent properties into account.
  • The grid's Filter Editor does not display non-persistent properties in the properties tree.
  • The grid's Auto Filter Row feature is not available for non-persistent columns.
  • Grid column headers for non-persistent columns do not allow end-users to filter, sort or group.

You can change this property in the overridden OnActivated method of a custom ViewController<ViewType> for a required ListView.

See Also