ASPxClientGridView.ColumnResized Event

Occurs after a column's width has been changed by an end-user.


ColumnResized: ASPxClientEvent<ASPxClientGridViewColumnProcessingModeEventHandler<ASPxClientGridView>>

Event Data

The ColumnResized event handler receives an argument of the ASPxClientGridViewColumnProcessingModeEventArgs type. The following properties provide information specific to this event.

Property Description
column Gets a grid column related to the event.
processOnServer Gets or sets a value that specifies whether the event should be finally processed on the server side.


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 example below.


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