Streaming the data

Answered
Abbas asked on January 6, 2026

Hello Flexmonster Team,

I am currently using a custom API with Vue.js as the client and exploring options for streaming data into Flexmonster. While reviewing the available configuration options, I came across the useStreamLoader property.

Could you please elaborate on how useStreamLoader works internally? I would also appreciate an explanation of how it differs from using a native fetch approach for loading or streaming data, and in which scenarios it is recommended to use it.

Thank you for your time and support.

1 answer

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 6, 2026

Hello, Abbas!

Thank you for reaching out to us.

Kindly note that our stream loader feature is available for the JSON data source only, so that users without a server-side solution can work with bigger JSON files directly from the browser. The useStreamLoader option uses the native stream loader to load JSON file in chunks under the hood.

If you are using the custom data source API as a function approach and want to send data in chunks, we would recommend loading data by pages. For that, please specify the page and pageTotal properties in your /select response. After that, the component will continue sending the /select requests while the page is less than the pageTotal.

To check out the sample request and response with page and pageTotal properties, please look through example 5: https://www.flexmonster.com/api/select-request-for-pivot-table/.

Hope you will find our answer helpful.
Feel free to ask if you have any further questions.

Kind regards,
Solomiia

Please sign in or register to submit your answer