Skip to Main Content
Feature Request FR-2465
Product Area Page Components
Status ROADMAP

22 Voters

Lazy loading - Region display selector

lucas.hirschegger2 Public
· Apr 25 2022

Idea Summary
In pages with many regions, it could take time to load all the regions to then hide at client side. Could be nice to have an option to load each region on demand. 

Use Case
The more regions you add to a page, the more data you will load and maybe unnecessarily. Having and “on-demand” option could be good, so the report would be loaded or refreshed upon user click.

This is currently on the roadmap for a future release of Oracle APEX.

Comments

Comments

  • john.snyders APEX Team OP 3.2 years ago

    I believe this need can be met by having more regions support lazy loading the way that interactive grid does. It will not fetch data until the region is visible. In addition the RDS and any other tabs  container templates need to stop doing the few miliseconds of all tabs being visible thing that gets in the way of IG being truly lazy.

    The one thing I don't agree with being automatic is the refresh upon tab activate (user click). Being lazy for first load is one thing but assuming that the data needs to be refreshed on each activate is not so often desired. Perhaps I misunderstood this part and this is not what you intended. 

    But in addition there should be a documented API for tabs so that if someone wants to do something like refresh when the tab is activated they can simply by using a dynamic action.

  • lucas.hirschegger2 OP 3.2 years ago

    What I was referring to is what you describe above. First load of data once you display the region. Having a DA to refresh upon display would be probably be nice too, but not what bothers me at the moment :)