PivotGrid HtmlHelper Overview

The PivotGrid HtmlHelper extension is a server-side wrapper for the Kendo UI PivotGrid widget.

It allows you to configure the Kendo UI PivotGrid from server-side code and helps you with data binding.

Getting Started

The Basics

The Kendo UI PivotGrid for ASP.NET Core supports Ajax data-binding to HTTP accessible OLAP cube.

For more information on the OLAP concepts, refer to the articles about:

The team has set up an OLAP service dll that can be used for testing. It is hosted at https://demos.telerik.com/olap/msmdpump.dll, however to see the responses it needs to be queried, it cannot be opened directly in the browser. See the example below which shows how to configure the PivotGridDataSource to consume the service.

The Kendo UI PivotGrid for ASP.NET Core also supports Ajax data-binding to a flat data. The widget creates a client-side cube allowing to categorize the flat data.

For more information, refer to the demos on:


Below are listed the steps for you to follow when configuring the Kendo UI PivotGrid for ASP.NET Core and doing Ajax binding to an Adventure Works cube, hosted on https://demos.telerik.com/olap/msmdpump.dll.

  1. Create a new ASP.NET Core application. If you have the Telerik UI for ASP.NET Core Visual Studio Extensions installed, create a Telerik UI for ASP.NET Core application. Name the application KendoPivotGrid. If you decide not to use the Telerik UI for ASP.NET Core Visual Studio Extensions, follow the steps from the introductory article to add Telerik UI for ASP.NET Core to the application.

  2. Add a Kendo UI PivotGrid to the Index view.

            .DataSource(dataSource => dataSource.
                .Columns(columns => {
                .Rows(rows => rows.Add("[Product].[Product]"))
                .Measures(measures => measures.Values(new string[]{"[Measures].[Internet Sales Amount]"}))
                .Transport(transport => transport
                    .Connection(connection => connection
                        .Catalog("Adventure Works DW 2008R2")
                        .Cube("Adventure Works"))
                    .Read(read => read
  3. Build and run the application.

See Also

In this article
Not finding the help you need? Improve this article