Skip to Main Content
Feature Request FR-2694
Product Area Page Components
Status CLOSED

9 Voters

Only retrieve data for tabs when they become active

jeremy.webb2 Public
· Aug 16 2022

Idea Summary
To only render the data for regions in a tab when the  tab becomes active.

Use Case
Currently the default Apex functionality is to render all data for all regions in all tabs regardless of whether the tab is active.

Preferred Solution (Optional)
 There should be a declarative option to specify that data will only be loaded when the tab becomes active.

It is possible to do this with a fair amount of JavaScript, but really this should be declarative. We have a page with 6 tabs, and the page takes a while to load because data is loaded for all tabs, even the no active ones. It performs far better now we have endured that data is only loaded for the active tab. When the use switches tabs, then the data is loaded for that new tab.

We reviewed this idea carefully and came to the conclusion that it does not constitute an appropriate APEX feature request.

Comments

Comments

  • roberto.capancioni OP 2.9 years ago

    You can do that with Lazy Loading present in CR,IR and IG

  • jayson hanes Admin OP 2.9 years ago

    @roberto, select lists, form items, etc, don't have those options..

  • roberto.capancioni OP 2.9 years ago

    Part of the problem is already solved. Grids and reports have Lazy Loading, Forms have less impact and select lists can be replaced with lov popup.
    However, it would be desirable to extend lazy loading to other regions.

  • vincent morneau Admin OP 2 years ago

    Hi @jeremy.webb2 , this idea makes sense. In fact, if should be generalized to “Only retrieve data when they are visible”, as it affects more than tabs. For form items like select list etc, the rendering impact is much less important. For data components like reports, cards, and graphs, it should be default behavior. We decided to close this idea as it relates to a general improvement we want to make in the engine to make data components more efficient based on visibility.

  • jbarry OP 1.9 years ago

    quit with the mind-reading you guys !! Yeah we would welcome this !