Seeking guidance:
I have a challenge in front of me. I want to build a page with a single table containing a large amount of data (many rows, numerous columns), and my goal is to ensure the page runs smoothly and quickly for users. Here is my approach:
First, I retrieve a list that contains the primary keys of all the elements to be displayed in the table.
Next, I iterate through this list, making asynchronous requests for each element based on its primary key. Once an element is retrieved, it is added to the table.
All these retrieval operations are implemented as Web service calls.
Now, I have some questions:
If the elements arrive out of order compared to when they were requested, how can I rearrange them to match their original positions based on primary keys?
Is there a way to integrate this strategy with one of the popular JavaScript grid controls available, without needing to modify or fully understand the internal workings of these controls?