2.27.6 Loading Large Amounts of Data
When you are choosing the visualization style for a component which will be handling large amounts of data, bear in mind that loading all of that data in one go may take quite some time. You may want to consider using controls which load only part of the data. For example if you create a component for a list of several thousand customers, you could adopt one of the following approaches:
- Use a standard reusable part as the basis
The reusable part could contain an edit box where the user can type a partial name, a command button to fetch the entries that match that name and a list box that shows the entries.
- Show the customers grouped alphabetically in a tree view (in the same way as in the Visual LANSA Repository tab). When the user clicks on a letter, the customers whose name starts with that letter are fetched.