Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.ClientSideEvents Property

Gets an object that lists the client-side events specific to the GridView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public GridViewClientSideEvents ClientSideEvents { get; }

Property Value

Type Description
GridViewClientSideEvents

A GridViewClientSideEvents object that allows assigning handlers to the client-side events available to the ASPxGridView.

Remarks

The ClientSideEvents property provides access to the properties whose names correspond to the events available to a ASPxGridView on the client side. These properties provide the capability to assign JavaScript handlers to the required client-side events of the ASPxGridView.

Example

Note

For a full example, see the ASPxGridView - Focused Row demo.

<dx:ASPxGridView ID="grid" ClientInstanceName="grid" runat="server" DataSourceID="EmployeesDataSource"
    KeyFieldName="EmployeeID" PreviewFieldName="Notes" AutoGenerateColumns="False" EnableRowsCache="false" Width="100%">
    <Columns>
    ...
    </Columns>
    ...
    <ClientSideEvents FocusedRowChanged="function(s, e) { OnGridFocusedRowChanged(); }" />
</dx:ASPxGridView>
See Also