Slow ComboBox with large data
-
Hi community,
I have a
ComboBox
with almost 800 entries. I made it editable to allow the user for typing and searching for the correct entry.
The problem is that theComboBox
is now veeeery slow.
How to speed it up? -
@ed_robcont_ In my opinion it will be not that great for the user to scroll through a combo box with 800 entries to find something. Can't you organise differently? Maybe grouping the entries (I do not know what kind of data it is in your case)?
-
@jsulm said in Slow ComboBox with large data:
@ed_robcont_ In my opinion it will be not that great for the user to scroll through a combo box with 800 entries to find something. Can't you organise differently? Maybe grouping the entries (I do not know what kind of data it is in your case)?
@jsulm Unfortunately there is not another way to display the dataset and the user should be able to scroll over all the available items if he want.
To facilitate the search, the user can edit the ComboBox. It works, but it is too slow, the latency is of some seconds. Moreover, I would like the ComboBox to display the dropdown with filtered text.
How to do it? -
I think replacing
ComboBox
withListView
is a better way in your case. use aTextEdit
or some related item inListView
's header for searching, use HeaderOverlay for headerPositioning to always show that Item on top of listview. -
@MajidKamali said in Slow ComboBox with large data:
I think replacing
ComboBox
withListView
is a better way in your case. use aTextEdit
or some related item inListView
's header for searching, use HeaderOverlay for headerPositioning to always show that Item on top of listview.I was thinking for the same, but I was hoping for a faster solution.
-
@ed_robcont_ I would use a Popup with ListView to provide something similar to your large ComboBox