Skip to main content

Bug Tracker

Side navigation

#5747 closed enhancement (invalid)

Opened January 04, 2010 04:21PM UTC

Closed January 05, 2010 12:10AM UTC

[autocomplete] Display results as TABLE instead of UL

Reported by: bearwalk Owned by:
Priority: trivial Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

(This is my first contribution here, so I'm sorry if I'm submitting this the wrong way somehow.)

The attached file is the latest autocomplete plugin, but with an enhancement that makes it possible to display the results as table rows rather than list items. Very handy if you need to display additional data about each result.

Of course, to take advantage of this you must make formatItem() return strings with several TD:s, like "<td>foo</td><td>bar</td>".

Search for the string "resultsElements" to find all the lines I've modified.

Attachments (1)
Change History (1)

Changed January 05, 2010 12:10AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

The autocomplete plugin isn't part of jQuery core, so it would be better to post this in the jQuery group:

http://groups.google.com/group/jquery-en