Render out-of-view component in the background

Hello

I have a Tab component with 3 tabs, each hosting a child component. The child components are only rendered when the corresponding tab is selected, a process that has some latency - the child component consist of a treegrid that makes an API call in order to be populated . Is there a way to make the out-of-view components to render in the background?

Thanks!



3 Replies

VS Venkateshwaran Saravanakumar Syncfusion Team September 5, 2023 03:53 PM UTC

Hi Ernesto,


Before we can address your query, we require additional details to proceed. We suspect that you may want to load all the tab contents in the DOM on the initial load itself. Please confirm if our assumption is correct or if we have misunderstood your requirements, share your use case scenario or a video demo which would be helpful and allow us to provide a valid solution.


Regards,
Venkatesh



ER Ernesto September 5, 2023 04:34 PM UTC

Hello


" We suspect that you may want to load all the tab contents in the DOM on the initial load itself." --> Yes.


Thanks!



VS Venkateshwaran Saravanakumar Syncfusion Team September 7, 2023 12:08 PM UTC

Ernesto,

We considered your requirement "support to load all Tabs contents on initial rendering of the component” as a feature request and it will be included in any of our upcoming release. You can track the status through the following feedback link:

Feedback: https://www.syncfusion.com/feedback/46677/provide-support-to-load-all-tabs-contents-on-initial-rendering-of-the-component

Regards,
Venkatesh


Loader.
Up arrow icon