Skip to main content
Tab

ASPxGridViewBehaviorSettings.ProcessColumnMoveOnClient Property

Gets or sets a value whether or not column move operations are processed on the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v25.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ProcessColumnMoveOnClient { get; set; }

Property Value

Type Default Description
Boolean false

true, to process column move operations on the client; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ProcessColumnMoveOnClient
ASPxGridView
.SettingsBehavior .ProcessColumnMoveOnClient
GridViewProperties
.SettingsBehavior .ProcessColumnMoveOnClient

Remarks

If the ASPxGridViewCookiesSettings.StoreColumnsWidth property is set to true, the grid requires an additional round trip to the server to persist column widths in cookies. To do this, handle the ColumnResized event as shown in the following code snippet.

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" 
    ClientInstanceName="grid">
    <SettingsBehavior ColumnResizeMode="NextColumn" />
    <SettingsCookies Enabled="True" />
    <ClientSideEvents ColumnResized="function(s, e) {
        e.processOnServer = true;
    }" />
</dx:ASPxGridView>
See Also