Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery UI autocomplete - Showing the results in separate lists
    primarykey
    data
    text
    <p>I'd like to show my search results separated in many columns, that is, in separate lists like:</p> <pre> Item 1 Item 5 Item 9 Item 2 Item 6 Item 10 Item 3 Item 7 Item 4 Item 8 </pre> <p>Following whatever way to indicate how many items should be shown per list before creating a new one.</p> <p>I'm not clear about the <code>formatItem()</code> function in the autocomplete, so not sure it can be achieved there.</p> <p>Any suggestion/guidance will be highly appreciated, including any other plugin/approach that allows me to get this result.</p> <p>Thanks. </p> <p>Edit:</p> <pre><code>&lt;ul class="ui-autocomplete ui-menu ui-widget ui-widget-content ui-corner-all" role="listbox" aria-activedescendant="ui-active-menuitem" style="z-index: 1; top: -0.899994px; left: 0px; display: block; position: relative; width: 150px;"&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Shanghai&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Mumbai&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Karachi&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Delhi&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Istanbul&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;São Paulo&lt;/a&gt; &lt;/li&gt; &lt;li class="ui-menu-item" role="menuitem"&gt; &lt;a class="ui-corner-all" tabindex="-1"&gt;Moscow&lt;/a&gt; &lt;/li&gt; </code></pre> <p></p> <p>This is the auto-generated HTML by the autocomplete, and I'd like to split it, say, every 3 items in a new list so every list becomes a column.</p> <p>Maybe I'm thinking about a more complex than needed way and there's another, if that's the case, I'll appreciate any insight.</p> <p>Thanks again.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload