ASPxGridView.ClientSideEvents Property
In This Article
Gets an object that lists the client-side events specific to the GridView.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewClientSideEvents ClientSideEvents { get; }
#Property Value
Type | Description |
---|---|
Grid |
An object that allows you to handle ASPx |
#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 ASPx
<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