Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Collapse]Pivot Grid
   [Expand]Getting Started
    Integrate the PivotGrid Extension into a Project
   [Expand]Binding to Data
    Main Features - PivotGrid
    Client-Side Functionality
   [Expand]UI Elements
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Client-Side Functionality

In addition to a comprehensive server-side object model, the MVC PivotGrid extension offers a client-side API.

The PivotGrid's client counterpart is represented by the MVCxClientPivotGrid object. An extension's client object can be accessed on the client through the extension name by using the PivotGridSettings.Name property. The PivotGrid's client events can be accessed by using the PivotGridSettings.ClientSideEvents property.

To learn more about the use of a client-side API, see Client-Side API.


The code sample below demonstrates how to obtain the index of a row that corresponds to the clicked data cell. In this example, the PivotGrid's client ASPxClientPivotGrid.CellClick event is handled. The event sender is an MVCxClientPivotGrid object. When the event is raised, the alert box containing the index of the row that owns the clicked cell is displayed.

Is this topic helpful?​​​​​​​