117
Views
5
Comments
Performance issue - Long Multiple List Box
Question

Hi everyone,

I want to mimic something similar to email client, like the image below:


I am using List Box with Multiple Selection and it works fine... but this is on a short list. My problem is performance wise - I will have to deal with a list of more than 10,000 contacts. What's the best way to achieve a fast response UI with this?

Thanks

Tiago

2025-11-03 12-56-18
Evert van der Zalm
 
MVP

Tiago,


Autocomplete with 10.000 records wouldn't be slow right? Or is it data from service?


Like J suggested start from char 3 an option?


Kind regards,

Evert

2024-03-14 14-46-22
Nelson Inácio

Limit the number of results, for example maximum of 20 (Site property). If the user can't find what he want he must continue writing the contact name

UserImage.jpg
Rob K

Nelson Inácio wrote:

Limit the number of results, for example maximum of 20 (Site property). If the user can't find what he want he must continue writing the contact name


I am having difficulty finding how to do this.  Creating a site property is no issue, but how do I actually "use" it to limit the number of autocomplete results getting returned?

2017-07-05 18-13-21
Tiago Neves

Thanks for the tips.

I changed some things and basically have the same as in Outlook. Besides Send button, when clicking To, Cc, Bcc a pop-up opens to perform that search/select logic. Performance is good this way.

2026-06-05 12-38-17
Eduardo Jauch

Hello Rob,

Please, instead of resurrecting dead posts (we don't want to start the zumbi apocalypse, right?), create a new one and reference this on it (for example).

In any case, the aggregate and the SQL have a property called Max. Records where you can set the maximum records to return from the query.

https://www.outsystems.com/help/SErviceStudio/9.0/Using_Data/aggregates/Aggregate_Properties.htm

This means that you must implement logic in the OnChange of the list or combo box to refresh both the Aggregate or SQL and the combo. Usually is better to use an input and an Input auto complete.

Cheers

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.