ColumnsListEditor.PreventServerSideOperationsForNonPersistentMembers Property
Specifies whether server-side operations are prevented for non-persistent properties in the Server, ServerView, InstantFeedback, and InstantFeedbackView data access modes, or not.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if server-side operations are prevented for non-persistent properties in the Server, ServerView, InstantFeedback, and InstantFeedbackView 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 Web Forms 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.