Skip to content

Latest commit

 

History

History
 
 

Typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

How to bind MongoDB to a Pivot Table

A quick start project for connecting a MongoDB to a Syncfusion Pivot Table. This repository includes a Web API Controller (MyWebService) for retrieving data from a MongoDB, as well as a quick start sample in the TypeScript platform that displays the retrieved data in a Syncfusion Pivot Table.

Project prerequisites

Before beginning work on the server and client projects, ensure the following software to be installed in the machine.

How to run this application?

  • To run this application, clone the how-to-bind-MongoDB-to-pivot-table repository and then open MyWebService project in Visual Studio 2022. Simply build and run your project in IIS Express, and it will host and display the URL https://localhost:44346.

  • Now open TypeScript sample in Visual Studio Code and install the necessary npm packages using the following command.

npm install
  • Initialize the Pivot Table, map the hosted URL, create a pivot report, and finally run your project using the following command to achieve the desired result.
npm run start