MagicCombo is a small and flexible JQuery ComboBox plugin. Online Demo and Download

height

Component height, default 24.

maxkLen

Max chars can input, default 20.

comma

The char for join display value, default ','.

name

Name, the default name is div name attribute.

cols

Same with MagicGrid.

keyField

Key ( Value ) field name.

displayField

Display field name.

multiSelect

Default false.

width

Component width.

maxHeight

Max height of dropdown box.

loader

Same with MagicGrid.

boxHeight

The height of dropdown box. Optional.

boxWidth

The width of dropdown box. Optional. Default be same with component width.

boxTop

The top offset of dropdown box. It is related to component position. Optional, Only be needed for postion adjustment.

boxLeft

The left offset of dropdown box. It is related to component position. Optional, Only be needed for postion adjustment.

boxEl

Which Element or HTML which you want to put in.

readOnly

Default false.

boxMinWidth

The min width of dropdown box.

onOpen()

It is triggered when dropdown box is opened.

onSelect(me, dd, sd)

It is triggered when item be selected.

onLoad(self, dd)

It is triggered when data is loaded.

open()

Open the dropdown box.

close()

Close the dropdown box.

select(a)

Select one item when a is an object, or select multi items when a is an array.

loadData(dd)

Load local data. dd is an object array.

Copyright © 2011. All rights reserved  蜀ICP备11014774号-1   QQ: 7213571  MSN: pyh_jerry@163.com  E-mail: pyh_jerry@163.com