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.
Before beginning work on the server and client projects, ensure the following software to be installed in the machine.
- git
- Node.js
- TypeScript
- Visual Studio Code
- Visual Studio 2022 and .NET Core SDK 6.0 or later installed on your machine
-
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