jQueryの情報やプラグイン公開しています

SelectBox plug-in that displays multiple columns (jQuery)

Is a plug-in for jQuery that you can create a SELECT box with multiple columns.

Microsoft Access is a select box as an image (display multiple columns).
I think I want a select box available, such as when you view the "length", "width" "thickness" "Name" for example.
(Because it was the confidence I need, rather than ...)

Main function

  • To generate a multi-column select box.
  • Data and corresponding reference data <table>, javascript array object.
  • Plain also are equipped with auto-completion.
  • is required jQuery.

(Will open in a separate page) demo

Download

- DownLoad (134)

Option value

table
If you want to create data in one table. Specifies the name of the id.
table: "datatable"
data
JS object with the data specified in the array. data is specified in either one or the table.
data: [{id: "1", name: "IS planning", phone: "090-1234-5678"}]
display
The column number of the text box to retrieve data when the data selection. The default is 0.
display: 2
cols
Determine for each column width and justification. If you specify a width of 0 to hide.
cols: [{width: 0}, {width: 150, align: "center"}]
height
The height of the drop-down list
height: 300
onSelected
Click function to execute when the list

Capable browser

It was confirmed is IE8, 9, FireFox6, 7, chrome in Windows.
Is not supported in IE6.

Other notes

That the Company is responsible even in the event of some kind of trouble is not in any way, if you try to use it at your own risk.

Update History

Published 2011-10-27 ver1.0

Tag
, , , ,
Trackback URL

Leave a Reply

Your email address will not be published. * Fields are marked required

*

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

ページTOPに戻る