Yii 1.1: jamselect

A widget that encapsulates the jQuery amselect plugin for multiple selects.
6 followers

Requirements

Yii 1.1.4 or above

Usage

The widget is a form element.

Put in a view with a form...

$this->widget(
    'ext.widgets.asmselect.JAMSelect',
    array(
        'selected'=>$model->features,
        'data'=>$model->getFeatureList(), // an array
        'htmlOptions'=>array(
            'title'=>'Click to select here...',
            'name'=>'features'
        ),
        'animate'=>true
    ));

Resources

Total 1 comment

#1974 report it
got 2 doodle at 2010/10/23 10:31am
Great extension and very timely for my project

I needed min and max items selected from a list.

Check out my wiki article on how I did it.

doodle

Leave a comment

Please to leave your comment.

Create extension
Downloads