vendredi 14 août 2015

Handing/Displaying large amounts of data in tabs on client side

I'm developing a application which is essentially: User selects group of data, a new tab within the page is created and the data is loaded from a restful service( Can take ~10seconds with larger amount of data to display )

I'm wondering if anyone has any suggestions as to handle something like this, or any examples. As currently I have three methods but none seem ideal:

  1. Store the data in the tab object in angular(makes opening new data and navigating very slow)
  2. Load the data every time that tab is selected( Can take up to ~10secs but doesn't impact anything else )
  3. Host data on a different page and show via an iframe, but I've decided against this as an iframe would reload when a user selects a different tab.

Has anyone dealt with a similar use case and has some advice for someone who is quite unsure what route to go down? Thanks.

Aucun commentaire:

Enregistrer un commentaire