[]
        
(Showing Draft Content)

Blazor Viewer Custom Store

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.


Screenshot 2025-06-13 120816

Sample Location

type=note

Note: To run these samples, you must have

Overview

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.

Details

Item

Description

Viewer Component

Integrates the JS Viewer into a Blazor application to support runtime customization.

LocateDataSource

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 LocateDataSource callback during report rendering.

Use Cases

Suitable for dynamic reporting scenarios where data is generated or modified at runtime.

See Also

Developers

Blazor WebDesigner API