Yii 1.1.4 or above
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 ));
Total 1 comment
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 login to leave your comment.