[Expand]General Information
[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]Tree List
  [Expand]Card View
  [Collapse]Pivot Grid
   [Expand]Getting Started
    Integration into the Project
   [Expand]Binding to Data
    Main Features
    Client-Side Functionality
   [Expand]UI Elements
   Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Spell Checker
  [Expand]Query Builder
 [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]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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?​​​​​​​