[]
This sample demonstrates how to inject custom data into a report at runtime in the Blazor Viewer using the LocateDataSource callback available in the JS Viewer API.
type=note
Note: To run these samples, you must have
Visual Studio 2022 (version 17.0 or later)
.NET Core Hosting Bundle (for deployment to IIS)
The data used in the report is loaded from external sources at runtime and passed from the Blazor application to the JS Viewer using the LocateDataSource callback during report rendering.
Item | Description |
---|---|
Viewer Component | Integrates the JS Viewer into a Blazor application to support runtime customization. |
A callback function that matches a report ID and returns an array of custom data sources to be used during rendering. | |
Data Initialization | The data used in the report is loaded from external sources at runtime and passed from the Blazor application to the JS Viewer using the |
Use Cases | Suitable for dynamic reporting scenarios where data is generated or modified at runtime. |
Developers