Skip to content

DevExpress-Examples/reporting-react-end-user-designer-customizations

Repository files navigation

Reporting for React - Customize a Web Report Designer in a React App (Next.js)

This example incorporates the Web Report Designer into a client-side app built with React. The example consists of two parts:

This project contains code snippets used for client-side customization and reflected in our online help topics. Each code snippet is enclosed in a page.tsx file in a separate folder. After running the project, navigate the following locations to see the result:

Location Description
/client-side-api Performs some client-side actions.
/save-modified-report Saves a modified report in the currently active tab. Saves all modified reports.
/manage-properties-panel Hides or disables individual editors or sections in the Properties panel for the specified control type.
/report-designer-api Calls the Report Designer's RunWizard method to invoke New Report Wizard.
/open-report Adds a button that loads a specified report.
/save-report Adds a button that saves the current report.

Quick Start

Server

In the ServerSideApp/ServerSideApp folder, run the following command:

dotnet run

The server starts at http://localhost:5000. To debug the server, run the application in Visual Studio.

Client

In the react-report-designer folder, run the following commands:

npm install
npm run dev

Open http://localhost:3000/ in your browser to view the result. The application displays the Web Report Designer.

Report Designer in JavaScript with React

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)