# How best to navigate a "long" listbox \[table\]

**URL:** <https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941>\
**Category:** Swift\
**Created:** [15 April 2024 00:41 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941 "2024-04-15T00:41:31Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [16 April 2024 21:10 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/21 "2024-04-16T21:10:05Z")

</div>

speed isnt an issue since no matter what “filter” the data is still linear, its just a matter of getting another filter criteria from the user in a non-convulted way. I’ve looked at similar programs that have similar data in a list as I do, and even though they are mouse oriented, they all seem to have the same filters that I already do…

---

<div class="post-metadata">

**Author:** ![jalih](https://ifnotnil.com/user_avatar/ifnotnil.com/jalih/32/5003_2.png) [@jalih](https://ifnotnil.com/u/jalih)\
**Post date:** [16 April 2024 21:45 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/22 "2024-04-16T21:45:57Z")

</div>

> [@DaveS](#):
>
> speed isnt an issue since no matter what “filter” the data is still linear, its just a matter of getting another filter criteria from the user in a non-convulted way.

You could put a list of starting alphabets for a quick selection (a picture that HalGumbert posted earlier) but also allow more complex search when user wants to do it. Unlike when using basic hashmap, you would always automatically get your game list in alphabetical order with Trie. Categories could be handled in search by storing data into Trie as: “gategory:name”.

---

<div class="post-metadata">

**Author:** ![mbierly](https://ifnotnil.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mbierly](https://ifnotnil.com/u/mbierly)\
**Post date:** [16 April 2024 21:53 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/23 "2024-04-16T21:53:11Z")

</div>

Looking at your screenshot in the first post instead of the long list of all of the games would it make sense to use the shorter list of Categories in place of the individual list of games? Let the user “drill down” within a category to see the individual game options?

---

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [16 April 2024 22:02 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/24 "2024-04-16T22:02:36Z")

</div>

You are missing the point entirely. It is not a matter of APPLYING a filter… .it is a matter of getting the CRITERIA from the user. Having multiple lists to scroll thru is not advantaeogus…I debated with myself for a week before I added the list on the left. adding a 3rd one would make the navigation a mess

---

<div class="post-metadata">

**Author:** ![tempelorg](https://ifnotnil.com/user_avatar/ifnotnil.com/tempelorg/32/2660_2.png) [@tempelorg](https://ifnotnil.com/u/tempelorg)\
**Post date:** [18 April 2024 14:37 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/25 "2024-04-18T14:37:29Z")

</div>

I’d look into accelerating the scrolling. E.g, detect the speed of the swipe and scroll further, or detect quick (double) taps on the upper or lower part of the touchpad and then do page-wise scrolls instead of single item advances.

---

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [18 April 2024 14:44 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/26 "2024-04-18T14:44:43Z")

</div>

> [@mbierly](#):
>
> Looking at your screenshot in the first post instead of the long list of all of the games would it make sense to use the shorter list of Categories in place of the individual list of games? Let the user “drill down” within a category to see the individual game options?

Thanks, but if you look at the screen shot, you will see I’ve already done that

---

<div class="post-metadata">

**Author:** ![DaveS](https://ifnotnil.com/user_avatar/ifnotnil.com/daves/32/79_2.png) [@DaveS](https://ifnotnil.com/u/DaveS)\
**Post date:** [18 April 2024 23:21 UTC](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941/27 "2024-04-18T23:21:38Z")

</div>

Ok here is what I decided on…  
there are TWO views (List and Grid)… The list view is what is shown above in the first post (with some minor alterations).  
The GRID view looks like this

 ![Screenshot 2024-04-18 at 4.16.55 PM](https://ifnotnil.com/uploads/default/original/2X/4/430a38b633cfc8008055004f112200685cd9a631.jpeg)

same filter table (far right), but a grid of 20 smaller thumbnails… and the grid allows horizontal as well as vertical navigation, so it is quicker

the thumbnails are created only when they need to be displayed, and then only if one isn’t already in the cache. Due to storage restrictions under tvOS, the are not stored between executions

[Previous page](https://ifnotnil.com/t/how-best-to-navigate-a-long-listbox-table/3941.md?page=1)
