Need a special offer?Find out if your project fits.
+

Async / Scrolling data from server to client

Answered
Moshe Malin asked on December 6, 2020

Hi,
Is there a way to stream data from BE to FM Client in a way that the initial response is displayed immediately and more data comes later? Alternatively, can it be a async flow? so it will not block the FE?
Thanks,
Moshe 

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 7, 2020

Hello, Moshe,
 
Thank you for your question.
 
When using the custom data source API, the client-side receives only the data needed for the current configuration. After the user changes the configuration, Flexmonster performs the corresponding request and receives appropriate data in a ready-to-shown format.
 
Please note that all the data needed for the current configuration is loaded at once. It implies that the data which is not currently visible because of the scroll is also loaded to the component.
 
We hope it helps.
Please contact us in case other questions arise.
 
Regards,
 
Illia

Please login or Register to Submit Answer