[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [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
   Reporting
  [Expand]Charting
  [Collapse]Pivot Grid
   [Expand]Getting Started
    Integration into the Project
   [Expand]Binding to Data
    Main Features
   [Expand]Export
    Client-Side Functionality
   [Expand]UI Elements
   [Expand]Examples
   Spreadsheet
   Rich Text Editor
  [Expand]Scheduler
  [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]Localization
 [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[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.

Example

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